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

Disassembly:
push 0xffffffffffffffff
push 0x55a1fb
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 0x4e8659
push ebx
lea ecx, [esi + 0x5c]
call fcn.00525a77
cmp eax, 0xffffffff
jne 0x4e8619
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 0x4e8655
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.00528088
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov ebx, edi
jmp 0x4e8659
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 0x4e8681
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x20], eax
jle 0x4e8826
jmp 0x4e869f
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 0x4e8780
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 0x4e8709
test cl, cl
je 0x4e8705
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [ebp + 1]
jne 0x4e8709
add eax, 2
add ebp, 2
test cl, cl
jne 0x4e86e4
xor eax, eax
jmp 0x4e870e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e872c
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.00525ad3
cmp dword [esp + 0x48], ebx
je 0x4e8747
push 0
push 0
push 0
push ebx
push ebx
push 0
push 0x22
push edi
lea ecx, [esi + 0x5c]
call fcn.00525ad3
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4e8766
push 0
push 0
push 0
push 0
push 0
push 0
push 4
push edi
lea ecx, [esi + 0x5c]
call fcn.00525ad3
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 0x4e87b7
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.00525b21
push 0
push 0
push 0
push 0
push 0
mov ebx, eax
push 0
push 4
push ebx
mov ecx, ebp
call fcn.00525ad3
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x4e87fb
mov eax, dword [esp + 0x28]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [ebp]
jne 0x4e87e8
test cl, cl
je 0x4e87e4
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [ebp + 1]
jne 0x4e87e8
add eax, 2
add ebp, 2
test cl, cl
jne 0x4e87c3
xor eax, eax
jmp 0x4e87ed
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e87fb
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
jmp 0x4e8807
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4e8807
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 0x4e8695
mov ebx, dword [esp + 0x10]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
je 0x4e885e
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 0x4e882a
mov ebx, dword [esp + 0x10]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test ebx, ebx
je 0x4e8898
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4e888a
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4e888a
mov edx, dword [esi + 0x78]
push ebx
push 1
push 0x110a
push edx
call ebp
test eax, eax
je 0x4e888a
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 0x4e88e4
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.00525b21
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
push 0
push 4
push eax
mov ecx, esi
call fcn.00525ad3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x460], 0xffffffff
call fcn.00527eff
mov ecx, dword [esp + 0x458]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x454
ret 4