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

Disassembly:
push 0xffffffffffffffff
push 0x57f728
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eabd8]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00485f40
mov ecx, dword [eax + 4]
call fcn.0047b0a6
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
push 0xe0
push eax
lea edi, [ebx + 0x54]
push ecx
mov ecx, edi
mov dword [esp + 0x94], 0
call fcn.00508380
test eax, eax
jne 0x4e99d5
lea ecx, [esp + 0x98]
mov dword [esp + 0x88], 0xffffffff
call fcn.0047a393
xor eax, eax
jmp 0x4e9c94
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.00509170
cmp dword [esp + 0x14], 0
mov esi, eax
jne 0x4e9c71
mov edi, edi
cmp dword [ebx + 0xb0], 0
je 0x4e9a51
cmp dword [ebx + 0xbc], 0
je 0x4e9a1e
test esi, esi
je 0x4e9c55
test dword [esi + 0xc], 0x50000000
je 0x4e9c55
mov eax, 1
jmp 0x4e9a6d
test esi, esi
je 0x4e9c55
mov eax, dword [esi + 0xc]
test eax, 0x10000000
je 0x4e9a34
test eax, eax
js 0x4e9a4a
test eax, 0x40000000
je 0x4e9c55
test eax, 0x20000000
je 0x4e9c55
mov eax, 1
jmp 0x4e9a6d
cmp dword [ebx + 0xbc], 0
je 0x4e9b6c
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x4e9c55
mov ecx, dword [esi + 0xc]
test ecx, 0x40000000
je 0x4e9a90
test ecx, 0x20000000
jne 0x4e9a90
mov eax, dword [ebx]
mov edx, dword [eax + 0x140]
lea ecx, [esi + 0x10]
push ecx
mov ecx, ebx
call edx
test eax, eax
je 0x4e9c55
mov eax, dword [ebx]
mov edx, dword [eax + 0x13c]
push esi
mov ecx, ebx
call edx
test eax, eax
je 0x4e9c55
mov eax, dword [esi + 0xc]
mov dword [esp + 0x18], 0x27
mov dword [esp + 0x3c], esi
test eax, 0x90000000
jne 0x4e9ad3
cmp dword [ebx + 0xbc], 0
je 0x4e9ae3
test eax, 0x20000000
je 0x4e9ae3
mov dword [esp + 0x38], 1
mov dword [esp + 0x18], 0x67
mov edx, dword [esi + 0x11c]
lea ecx, [esp + 0x94]
push ecx
lea eax, [esi + 0x10]
lea ebp, [ebx + 0xcc]
push edx
mov ecx, ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x9c], 0xffffffff
call fcn.0050c430
test eax, eax
jne 0x4e9b8b
mov eax, dword [ebx + 0xd8]
lea edi, [eax + 1]
mov eax, dword [esi + 0x11c]
push eax
mov ecx, ebp
call fcn.0050dde0
mov dword [eax], edi
mov eax, dword [esi + 0x11c]
mov ecx, dword [ebx + 0xc8]
push 0
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov edi, eax
mov eax, dword [ebx + 0xc4]
push edi
push 0xffffffffffffffff
push eax
call fcn.00485f40
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00428170
push edi
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x4e9b96
test esi, esi
je 0x4e9c55
test dword [esi + 0xc], 0xa0000000
je 0x4e9c55
mov eax, 1
jmp 0x4e9a6d
mov eax, dword [esp + 0x94]
mov dword [esp + 0x30], eax
mov edx, dword [esi + 0x120]
lea ecx, [esp + 0x94]
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x9c], 0xffffffff
call fcn.0050c430
test eax, eax
jne 0x4e9c12
mov eax, dword [ebx + 0xd8]
lea edi, [eax + 1]
mov eax, dword [esi + 0x120]
push eax
mov ecx, ebp
call fcn.0050dde0
mov dword [eax], edi
mov eax, dword [esi + 0x120]
mov ecx, dword [ebx + 0xc8]
push 0
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov esi, eax
mov eax, dword [ebx + 0xc4]
push esi
push 0xffffffffffffffff
push eax
call fcn.00485f40
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00428170
push esi
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x4e9c1d
mov eax, dword [esp + 0x94]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x40]
push edx
push 0
mov ecx, 0xa
lea esi, [esp + 0x20]
lea edi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x98]
push 0x1100
push eax
mov dword [esp + 0x54], 0xffff0002
mov dword [esp + 0x50], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x14]
push ecx
lea edi, [ebx + 0x54]
mov ecx, edi
call fcn.00509170
cmp dword [esp + 0x14], 0
mov esi, eax
je 0x4e99f0
mov ecx, edi
call fcn.00508300
lea ecx, [esp + 0x98]
mov dword [esp + 0x88], 0xffffffff
call fcn.0047a393
mov eax, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 0xc