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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x874
mov eax, dword [0x64e0a0]
xor eax, esp
mov dword [esp + 0x870], eax
push ebx
push esi
push edi
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x80], ax
lea eax, [esp + 0x82]
push eax
mov edi, ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call fcn.00546fa0
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x10], ecx
cmp byte [0x650ce4], cl
je 0x57bed2
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x20]
push eax
push ecx
push 0x1010
push dword [edi + 0x20]
call ebx
test eax, eax
je 0x57bed2
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
xor esi, esi
lea esp, [esp]
cmp byte [edi + esi + 0xe4], 0
je 0x57be5a
movzx eax, byte [edi + esi + 0xec]
push 0
push eax
push 0x101d
push dword [edi + 0x20]
call ebx
mov ecx, dword [esp + 0xc]
mov dword [esp + esi*4 + 0x58], ecx
add ecx, eax
mov dword [esp + esi*4 + 0x38], eax
mov dword [esp + 0xc], ecx
cmp esi, 1
jg 0x57be5a
add dword [esp + 0x10], eax
inc esi
cmp esi, 8
jl 0x57be20
xor ebx, ebx
cmp byte [edi + ebx + 0xe4], 0
je 0x57be84
mov ecx, dword [edi + 0x9c]
mov edx, dword [esp + ebx*4 + 0x58]
cmp ecx, edx
jl 0x57be84
mov eax, dword [esp + ebx*4 + 0x38]
add eax, edx
cmp ecx, eax
jl 0x57bee7
inc ebx
cmp ebx, 8
jl 0x57be62
mov eax, dword [edi + 0x818]
test eax, eax
je 0x57bed2
push eax
push edi
lea ecx, [edi + 0x788]
call fcn.0042e1e7
push 0
push 0
push 0x401
push dword [edi + 0x7a8]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0x818]
lea ecx, [edi + 0x788]
push edi
call fcn.0042e1e7
mov dword [edi + 0x818], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x870]
xor ecx, esp
call fcn.00541b41
mov esp, ebp
pop ebp
ret
cmp ebx, 0xffffffff
je case.0x57bf6f.4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.0057bc20
mov esi, eax
test esi, esi
je 0x57bed2
push 0
push 0
push 0x1027
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x18]
push ecx
push eax
push 0x1010
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + ebx*4 + 0x58]
mov eax, dword [esp + ebx*4 + 0x38]
mov edx, dword [esp + 0xc]
add eax, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
test edx, edx
je 0x57bf5a
mov eax, dword [edi + 0xa4]
imul eax, edx
add ecx, eax
mov dword [esp + 0x2c], ecx
mov eax, dword [edi + 0xa4]
add eax, ecx
mov dword [esp + 0x34], eax
cmp ebx, 6
ja case.0x57bf6f.4
jmp dword [ebx*4 + 0x57c1a0]
mov eax, dword [esi + 0x84]
test eax, eax
je 0x57bfa4
cmp byte [edi + 0xe4], 0
jne 0x57bfa4
movzx ecx, byte [esi + 0x9a]
shl ecx, 4
add ecx, 3
cmp byte [eax + 0xa3], 0
je 0x57bfa6
add ecx, 0x14
jmp 0x57bfa6
xor ecx, ecx
cmp byte [esi + 0x50], 6
ja case.0x57bf6f.0
mov eax, dword [esi + 0x5c]
add eax, ecx
cmp eax, dword [esp + 0x3c]
jle 0x57bfc2
mov eax, dword [esi + 4]
test eax, eax
jne 0x57c042
push 0
push 0
push 0x60ea98
mov ecx, edi
call fcn.0057c1c0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x870]
xor ecx, esp
call fcn.00541b41
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x84]
test eax, eax
je 0x57c001
cmp byte [eax + 0xa3], 0
je 0x57c001
mov edx, 0x14
jmp 0x57c003
xor edx, edx
cmp byte [esi + 0x50], 6
movzx eax, byte [0x65145e]
jbe 0x57c07b
movzx ecx, byte [esi + 0x9a]
shl ecx, 4
neg eax
sbb eax, eax
and eax, 0x10
add eax, 3
add eax, ecx
add eax, dword [esi + 0x5c]
mov ecx, dword [esp + 0x10]
add eax, edx
cmp eax, ecx
jle case.0x57bf6f.4
mov eax, dword [esi + 4]
test eax, eax
je case.0x57bf6f.4
push eax
push ecx
lea eax, [esp + 0x80]
push eax
call fcn.0057c2d0
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x80]
push eax
mov ecx, edi
call fcn.0057c1c0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x870]
xor ecx, esp
call fcn.00541b41
mov esp, ebp
pop ebp
ret
neg eax
sbb eax, eax
and eax, 0x10
add eax, dword [esi + 0x58]
add eax, edx
cmp eax, dword [esp + 0x38]
jle case.0x57bf6f.4
mov eax, dword [esi]
test eax, eax
je case.0x57bf6f.4
push eax
push ecx
lea eax, [esp + 0x80]
push eax
call fcn.0057c2d0
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x80]
push eax
mov ecx, edi
call fcn.0057c1c0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x870]
xor ecx, esp
call fcn.00541b41
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x60]
cmp eax, dword [esp + 0x40]
jle 0x57c121
mov eax, dword [esi + 8]
test eax, eax
je case.0x57bf6f.4
push eax
push ecx
lea eax, [esp + 0x80]
push eax
call fcn.0057c2d0
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x80]
push eax
mov ecx, edi
call fcn.0057c1c0
mov ecx, dword [esp + 0x87c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00541b41
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x2ac]
cmp eax, dword [edi + 0x784]
jne case.0x57bf6f.4
push 0x400
lea eax, [esp + 0x7c]
push eax
movzx eax, byte [edi + 0xee]
push eax
push dword [esp + 0x20]
mov ecx, edi
call fcn.0042cbe2
cmp word [esp + 0x78], 0
je case.0x57bf6f.4
jmp 0x57c051
mov eax, dword [esi + 0x64]
cmp eax, dword [esp + 0x44]
jle case.0x57bf6f.4
mov eax, dword [esi + 0xc]
jmp 0x57c03a
mov eax, dword [esi + 0x68]
cmp eax, dword [esp + 0x4c]
jle case.0x57bf6f.4
mov eax, dword [esi + 0x20]
jmp 0x57c03a
mov eax, dword [esi + 0x6c]
cmp eax, dword [esp + 0x50]
jle case.0x57bf6f.4
mov eax, dword [esi + 0x24]
jmp 0x57c03a