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

Disassembly:
push 0xffffffffffffffff
push 0x55a31b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x448
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov ecx, dword [0x5ada84]
lea eax, [esp + 0x58]
mov dword [esp + 0x30], 7
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x3ff
mov dword [esp + 0x1c], ecx
mov edx, dword [esi + 0x78]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
push edi
push 9
push 0x110a
push edx
mov dword [esp + 0x470], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x34], edi
call ebp
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x10], ebx
je 0x4e8759
push ebx
lea ecx, [esi + 0x5c]
call fcn.00525bc2
cmp eax, 0xffffffff
jne 0x4e8719
mov eax, dword [esi + 0x78]
push ebx
push 2
push 0x110a
push eax
call ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 1
mov ebx, eax
cmp ebx, edi
je 0x4e8755
mov edx, dword [esi + 0x78]
lea ecx, [esp + 0x30]
push ecx
push edi
push 0x110c
push edx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x68], 0
call ebp
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push eax
call fcn.005281a8
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov ebx, edi
jmp 0x4e8759
mov dword [esp + 0x24], edi
mov edx, dword [esi + 0x78]
push edi
push edi
push 0x110a
push edx
call ebp
mov ecx, dword [esp + 0x468]
mov edi, eax
mov eax, dword [esi + 0xb8]
mov dword [esp + 0x18], ecx
cmp ecx, eax
jl 0x4e8781
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x20], eax
jle 0x4e8926
jmp 0x4e879f
mov eax, dword [esp + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0xcc]
mov edx, dword [esi + 0xb4]
test edi, edi
mov ebx, dword [ecx + eax*4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x28], eax
je 0x4e8880
mov ecx, dword [esi + 0x78]
lea eax, [esp + 0x30]
push eax
push 0
push 0x110c
push ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], edi
mov byte [esp + 0x68], 0
call ebp
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [ebp]
jne 0x4e8809
test cl, cl
je 0x4e8805
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [ebp + 1]
jne 0x4e8809
add eax, 2
add ebp, 2
test cl, cl
jne 0x4e87e4
xor eax, eax
jmp 0x4e880e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e882c
mov eax, dword [esp + 0x28]
push 0
push 0
push 0
push 0
push 0
push eax
push 1
push edi
lea ecx, [esi + 0x5c]
call fcn.00525c1e
cmp dword [esp + 0x48], ebx
je 0x4e8847
push 0
push 0
push 0
push ebx
push ebx
push 0
push 0x22
push edi
lea ecx, [esi + 0x5c]
call fcn.00525c1e
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4e8866
push 0
push 0
push 0
push 0
push 0
push 0
push 4
push edi
lea ecx, [esi + 0x5c]
call fcn.00525c1e
mov ecx, dword [esi + 0x78]
push edi
push 1
push 0x110a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [esp + 0x2c]
mov edi, eax
jmp 0x4e88b7
push 0xffff0002
push 0xffff0000
push 0
push 0
push 0
push ebx
lea ebp, [esi + 0x5c]
push ebx
push eax
push 0x23
mov ecx, ebp
call fcn.00525c6c
push 0
push 0
push 0
push 0
push 0
mov ebx, eax
push 0
push 4
push ebx
mov ecx, ebp
call fcn.00525c1e
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x4e88fb
mov eax, dword [esp + 0x28]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [ebp]
jne 0x4e88e8
test cl, cl
je 0x4e88e4
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [ebp + 1]
jne 0x4e88e8
add eax, 2
add ebp, 2
test cl, cl
jne 0x4e88c3
xor eax, eax
jmp 0x4e88ed
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e88fb
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
jmp 0x4e8907
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4e8907
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4e8795
mov ebx, dword [esp + 0x10]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
je 0x4e895e
mov eax, dword [esi + 0x78]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 1
push 0x110a
push eax
mov ebp, edi
call ebx
mov ecx, dword [esi + 0x78]
push ebp
push 0
push 0x1101
push ecx
mov edi, eax
call ebx
test edi, edi
jne 0x4e892a
mov ebx, dword [esp + 0x10]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test ebx, ebx
je 0x4e8998
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4e898a
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4e898a
mov edx, dword [esi + 0x78]
push ebx
push 1
push 0x110a
push edx
call ebp
test eax, eax
je 0x4e898a
mov dword [esp + 0x10], eax
mov ebx, eax
mov eax, dword [esi + 0x78]
push ebx
push 9
push 0x110b
push eax
call ebp
mov ecx, dword [esp + 0x468]
mov eax, dword [esi + 0xb8]
cmp ecx, eax
jge 0x4e89e4
push 0xffff0002
push 0xffff0000
push 0
push 0
push 0
push 0xf
add esi, 0x5c
push 0xf
push 0x5acbc8
push 0x23
mov ecx, esi
call fcn.00525c6c
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
push 0
push 4
push eax
mov ecx, esi
call fcn.00525c1e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x460], 0xffffffff
call fcn.0052801f
mov ecx, dword [esp + 0x458]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x454
ret 4