Function at 0x4b9630
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x124
mov eax, dword [esp + 0x128]
push ebx
push ebp
mov ebp, dword [esp + 0x138]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], 0
push ecx
mov dword [esp + 0x24], edi
mov dword [edi + 0x28], ebp
mov ecx, dword [eax - 0xc]
test ecx, ecx
mov esi, esp
jl 0x4b9678
mov dword [esi], eax
mov eax, dword [esp + 0x13c]
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4b969d
mov ecx, dword [0x4d9540]
mov dword [esi], ecx
mov eax, dword [esp + 0x13c]
test eax, eax
mov ebx, eax
je 0x4b9694
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
mov ecx, esi
call fcn.00401630
mov ecx, edi
call fcn.004b9dc0
mov eax, dword [esp + 0x144]
mov dword [edi + 0x24], 1
test eax, eax
jne 0x4b96b8
mov eax, ebp
mov ecx, dword [edi + 4]
lea ebp, [edi + 4]
test ecx, ecx
mov dword [edi + 0x2c], eax
jne 0x4b9711
push 0
push 0
push 0x6e
push eax
push 0x64
push 0x64
push 0
push 0
push 0x56000100
push 0
push 0x4da0e8
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [edi]
push edi
mov ecx, edi
mov ebx, eax
lea esi, [edi + 8]
call dword [edx + 4]
push eax
mov ecx, esi
call fcn.0040d700
push esi
push 0xfffffffffffffffc
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x4b9711
mov dword [edi + 0x1c], eax
mov dword [ebp], ebx
push 1
push 1
push 0x21
push 0
push 0
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [ebp]
push 0
push 0x430
push eax
call ebx
mov ecx, dword [ebp]
push 0
push 0
push 0x418
push ecx
call ebx
dec eax
mov dword [esp + 0x14], eax
js 0x4b9764
mov edx, dword [ebp]
push 0
push eax
push 0x416
push edx
call ebx
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jns 0x4b974b
mov eax, dword [edi + 0x58]
add edi, 0x54
push eax
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call fcn.0047a820
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push ecx
push edx
mov ecx, edi
call fcn.004ba5f0
mov eax, dword [esp + 0x13c]
push 0
push 0
push 0x1200
mov ecx, dword [eax]
push ecx
call ebx
mov esi, eax
mov dword [esp + 0x2c], esi
lea eax, [esi*4 + 4]
push eax
call fcn.004c58a5
mov dword [esp + 0x28], eax
lea eax, [esi*4 + 4]
push eax
call fcn.004c58a5
mov edx, dword [esp + 0x2c]
add esp, 8
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x13c]
push edx
push esi
mov ecx, dword [eax]
push 0x1211
push ecx
call ebx
mov edx, dword [0x4d9540]
xor eax, eax
test esi, esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x14], eax
jle 0x4b9c73
jmp 0x4b97fd
mov edx, dword [0x4d9540]
mov ecx, dword [esp + 0x24]
lea edi, [esp + 0x94]
lea esi, [edx - 0xc]
mov ebp, dword [ecx + eax*4]
mov ecx, 0xa
xor eax, eax
mov dword [esp + 0x10], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x90], 2
mov ecx, dword [esi]
mov eax, 0x100
cmp ecx, 1
mov dword [esp + 0x30], esi
jg 0x4b983f
cmp dword [edx - 4], eax
jge 0x4b98a7
mov edi, dword [edx - 8]
cmp edi, eax
mov dword [esp + 0x1c], edi
jle 0x4b984c
mov eax, edi
push eax
lea ecx, [esp + 0x14]
call fcn.004012f0
test eax, eax
jne 0x4b985e
xor edx, edx
jmp 0x4b98a7
lea ecx, [edi + edi + 2]
mov edi, dword [esp + 0x10]
mov edx, ecx
add esi, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
mov dword [eax - 8], ecx
mov eax, dword [0x4d9544]
cmp esi, eax
je 0x4b98a3
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4b98a3
push esi
call fcn.004c5432
add esp, 4
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x13c]
mov dword [esp + 0x98], edx
lea edx, [esp + 0x90]
mov dword [esp + 0xa0], 0x100
mov eax, dword [esi]
push edx
push ebp
push 0x120b
push eax
call ebx
lea ecx, [esp + 0x10]
call fcn.00401380
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0x10]
mov dword [edx - 8], eax
mov ecx, dword [esp + 0x10]
mov word [ecx + eax*2], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x4b994a
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x4b9918
mov edx, dword [0x4d9544]
add eax, 0xfffffff4
cmp eax, edx
jne 0x4b991f
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x4b992f
mov edx, dword [ecx - 8]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.00401630
jmp 0x4b994a
lea ecx, [esp + 0x18]
call fcn.0040e950
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x90]
rep stosd dword es:[edi], eax
mov ecx, dword [esi]
lea eax, [esp + 0x90]
push eax
push ebp
push 0x120b
push ecx
mov dword [esp + 0xa0], 0x81
call ebx
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x10c]
lea edx, [esp + 0x108]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
push edx
push ebp
push 0x120b
push eax
mov dword [esp + 0x118], 8
call ebx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov dword [eax + ecx*4], 0
mov ecx, dword [esp + 0x120]
cmp ecx, 1
jne 0x4b99cc
mov edx, dword [esp + 0x14]
mov dword [eax + edx*4], 1
mov esi, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x40], eax
xor ecx, ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], ecx
lea edx, [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x44], ecx
push edx
push 1
mov dword [esp + 0x50], ecx
add ebp, 0x3e8
push 0x444
push eax
mov dword [esp + 0x5c], ecx
mov byte [esp + 0x54], 4
mov byte [esp + 0x55], cl
mov dword [esp + 0x50], ebp
call ebx
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], 0x20
mov dword [esp + 0x68], 2
xor ecx, ecx
mov edx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp edx, 1
jg 0x4b9a5a
mov edx, dword [eax - 4]
test edx, edx
jge 0x4b9aa7
mov edi, dword [eax - 8]
test edi, edi
mov dword [esp + 0x30], edi
jle 0x4b9a67
mov ecx, edi
push ecx
lea ecx, [esp + 0x14]
call fcn.004012f0
test eax, eax
je 0x4b9aa7
lea ecx, [edi + edi + 2]
mov edi, dword [esp + 0x10]
mov edx, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov dword [eax - 8], ecx
call fcn.00401350
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 4]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x64]
lea ebp, [esi + 4]
push edx
push eax
push 0x440
push ecx
call ebx
mov dx, word [esp + 0x94]
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x64]
mov word [esp + 0x76], dx
mov edx, dword [ebp]
push eax
push ecx
push 0x440
push edx
mov dword [esp + 0x78], 0x40
call ebx
lea ecx, [esp + 0xbc]
call fcn.004b95b0
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xe8]
call fcn.004ba6a0
lea ecx, [esp + 0x88]
push eax
lea edi, [esi + 0x54]
push ecx
mov ecx, edi
call fcn.004ba500
mov esi, dword [eax]
lea ecx, [esp + 0xe4]
mov dword [esp + 0x1c], esi
call fcn.004b95d0
lea ecx, [esp + 0xd4]
call fcn.004014c0
lea ecx, [esp + 0xd0]
call fcn.004014c0
mov ecx, dword [esi + 0x24]
mov eax, dword [esp + 0x10]
add esi, 0x24
cmp ecx, eax
je 0x4b9b9e
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4b9b6a
mov edx, dword [0x4d9544]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4b9b71
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4b9b7f
mov edx, dword [eax - 8]
push eax
push edx
mov ecx, esi
call fcn.00401630
jmp 0x4b9b9a
mov ecx, esi
call fcn.0040e950
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0x28]
lea esi, [edx + 0x28]
cmp ecx, eax
je 0x4b9bf0
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4b9bc0
mov edx, dword [0x4d9544]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4b9bc7
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4b9bd5
push eax
mov eax, dword [eax - 8]
push eax
mov ecx, esi
call fcn.00401630
jmp 0x4b9bf0
mov ecx, esi
call fcn.0040e950
mov ecx, dword [esp + 0x10]
mov dword [esi], ecx
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x94]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [0x4d9544]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4b9c2d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4b9c2d
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4b9c5c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4b9c5c
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4b97f7
mov esi, ecx
dec esi
test esi, esi
mov dword [esp + 0x14], esi
jl 0x4b9d5a
lea ecx, [esp + 0xbc]
call fcn.004b95b0
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xe8]
call fcn.004ba6a0
lea ecx, [esp + 0x88]
push eax
push ecx
mov ecx, edi
call fcn.004ba500
mov esi, dword [eax]
lea ecx, [esp + 0xe4]
call fcn.004b95d0
lea ecx, [esp + 0xbc]
call fcn.004b95d0
lea ecx, [esp + 0x64]
mov dword [esi + 0x2c], 1
call fcn.004b95b0
lea edx, [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.004ba6a0
push eax
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call fcn.004ba500
mov esi, dword [eax]
lea ecx, [esp + 0x40]
call fcn.004b95d0
lea ecx, [esp + 0x64]
call fcn.004b95d0
mov ecx, dword [esp + 0x14]
add esi, 0x10
push esi
push ecx
mov ecx, ebp
call fcn.00428a20
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
cmp dword [edx + eax*4], 1
jne 0x4b9d4b
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.004ba2e0
mov dword [eax + 0x1c], 0
mov edx, dword [esp + 0x14]
mov eax, dword [ebp]
push 0
push edx
push 0x416
push eax
call ebx
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jns 0x4b9c80
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x13c]
push 0
push 0x468
mov dword [edx + 0x20], ecx
push 0
mov ecx, ebp
call fcn.0043c700
mov eax, dword [esp + 0x24]
push eax
call fcn.004c5432
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004c5432
add esp, 8
lea ecx, [esp + 0x38]
call fcn.004014c0
lea ecx, [esp + 0x138]
call fcn.004014c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret 0x10