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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov dword [esp + 0x30], edx
mov dword [esp + 0x44], ecx
mov ebx, dword [ebp + 8]
mov esi, dword [ebx]
mov eax, dword [ebx + 4]
cmp eax, esi
jne 0x6570da
mov dword [ebx + 4], esi
mov esi, dword [esp + 0x30]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov ecx, edx
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
lea eax, [esp + 0x50]
mov dword [esp + 0x98], edx
push eax
push esi
call fcn.005479f0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x9c], ecx
cmp eax, ecx
je 0x6575b2
mov ecx, eax
mov eax, dword [esp + 0x44]
lea edx, [eax + 1]
mov dword [esp + 0xa4], edx
add eax, eax
mov dword [esp + 0x44], eax
mov eax, ecx
lea esi, [esp + 0x20]
jmp 0x657107
mov eax, edi
cmp edi, esi
je 0x657057
lea edi, [eax - 0xc]
test byte [eax - 0xc], 1
je 0x6570d0
push dword [eax - 4]
call fcn.0051c570
add esp, 4
jmp 0x6570d0
mov eax, dword [esp + 0xa0]
add eax, 4
cmp eax, dword [esp + 0x9c]
je 0x6575ae
mov dword [esp + 0xa0], eax
mov edi, dword [eax]
movzx eax, byte [edi + 1]
and al, 0x60
mov dword [esp + 0x4c], 1
mov byte [esp + 0xf], al
cmp al, 0x60
jne 0x65713f
mov ecx, dword [esp + 0x98]
push edi
push dword [esp + 0x34]
call fcn.00546d70
mov dword [esp + 0x4c], eax
test eax, eax
jle 0x6570f0
mov dword [esp + 0x34], 0
mov dword [esp + 0x48], edi
jmp 0x65715f
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
cmp dword [esp + 0x4c], eax
je 0x6570f0
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov eax, dword [edi + 0x10]
test eax, eax
je 0x6571be
mov dword [esp + 0x20], 0x6563d0
mov dword [esp + 0xa8], edi
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x6571be
mov dword [esp + 0x60], esi
lea ecx, [esp + 0xa8]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x10], ecx
push 0x4afd90
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.0051c150
add esp, 0xc
movzx eax, byte [edi + 2]
and al, 0xfe
cmp al, 0xa
jne 0x657270
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
lea esi, [esp + 0x60]
mov ecx, esi
call fcn.004a4e80
cmp byte [esp + 0xf], 0x60
mov byte [esp + 0x6a], 1
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x60], eax
mov eax, 0xffffffff
cmove eax, dword [esp + 0x34]
mov ecx, esi
lea edx, [esp + 0x10]
push edx
push eax
push edi
push dword [esp + 0x3c]
call fcn.004a66e0
lea ecx, [esp + 0x38]
push 0x8d2eda
call fcn.00520360
movzx eax, byte [esp + 0x10]
test al, 1
je 0x6572a0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
jmp 0x6572a6
cmp byte [esp + 0xf], 0x60
mov eax, 0xffffffff
cmove eax, dword [esp + 0x34]
lea ecx, [esp + 0x38]
push ecx
push eax
push edi
push dword [esp + 0x3c]
call fcn.004a7a40
add esp, 0x10
jmp 0x657317
shr eax, 1
lea edx, [esp + 0x11]
lea esi, [esp + 0x38]
mov ecx, esi
push eax
push edx
call fcn.00520110
mov ecx, esi
push 0x20
push dword [esp + 0x48]
call fcn.0051fd60
mov ecx, esi
push 0x8d2edd
call fcn.00520360
lea ecx, [esp + 0x88]
push dword [esp + 0x8c]
call fcn.004aa640
lea ecx, [esp + 0x7c]
push dword [esp + 0x80]
call fcn.004aa680
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x78], 0
test ecx, ecx
je 0x657304
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x10], 1
je 0x657317
push dword [esp + 0x18]
call fcn.0051c570
add esp, 4
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x68], 0
test byte [edi + 1], 8
jne 0x657350
lea ecx, [esp + 0x60]
push dword [edi + 8]
call fcn.0051fbb0
jmp 0x6573f2
mov eax, dword [edi + 8]
add eax, 0xc
push eax
push 0x8d2edf
lea esi, [esp + 0x18]
push esi
call fcn.00523f10
add esp, 0xc
mov ecx, esi
push 0x8d2557
call fcn.00520360
movzx ebx, byte [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x23], ecx
mov ecx, dword [eax + 1]
mov dword [esp + 0x20], ecx
mov esi, dword [eax + 8]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
test byte [esp + 0x60], 1
je 0x6573c6
mov eax, dword [esp + 0x68]
mov byte [eax], 0
mov dword [esp + 0x64], 0
test byte [esp + 0x60], 1
je 0x6573c6
push dword [esp + 0x68]
call fcn.0051c570
add esp, 4
mov byte [esp + 0x60], bl
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x23]
lea edx, [esp + 0x61]
mov dword [edx + 3], ecx
mov dword [edx], eax
mov dword [esp + 0x68], esi
test byte [esp + 0x10], 1
je 0x6573f2
push dword [esp + 0x18]
call fcn.0051c570
add esp, 4
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
movzx ebx, byte [esp + 0x60]
test bl, 1
je 0x657420
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
jmp 0x657426
shr ebx, 1
lea ecx, [esp + 0x61]
lea esi, [ebx + 3]
cmp esi, 0xfffffff0
jae 0x6575d5
cmp esi, 0xb
jae 0x657450
mov eax, ebx
add al, bl
mov byte [esp + 0x20], al
lea edi, [esp + 0x21]
test ebx, ebx
jne 0x657474
jmp 0x65747f
or esi, 0xf
lea eax, [esi + 1]
push eax
mov edi, ecx
call fcn.0051c3d0
mov ecx, edi
add esp, 4
mov edi, eax
mov dword [esp + 0x28], eax
add esi, 2
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
push ebx
push ecx
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov byte [edi + ebx], 0
lea esi, [esp + 0x20]
mov ecx, esi
push 3
push 0x8d2ee2
call fcn.00520110
movzx eax, byte [esp + 0x38]
test al, 1
je 0x6574b0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
jmp 0x6574b6
shr eax, 1
lea edx, [esp + 0x39]
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x48]
mov ecx, esi
push eax
push edx
call fcn.00520110
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x10], xmm0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax], 0
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x657530
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], ecx
movsd xmm0, qword [esp + 0x10]
movsd qword [eax], xmm0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
add dword [ebx + 4], 0xc
test byte [esp + 0x20], 1
je 0x65754a
jmp 0x657573
mov ecx, ebx
lea eax, [esp + 0x10]
push eax
call fcn.0040c760
test byte [esp + 0x10], 1
jne 0x657560
test byte [esp + 0x20], 1
jne 0x657573
test byte [esp + 0x60], 1
jne 0x657586
test byte [esp + 0x38], 1
je 0x657150
jmp 0x65759d
push dword [esp + 0x18]
call fcn.0051c570
add esp, 4
test byte [esp + 0x20], 1
je 0x65754a
push dword [esp + 0x28]
call fcn.0051c570
add esp, 4
test byte [esp + 0x60], 1
je 0x657551
push dword [esp + 0x68]
call fcn.0051c570
add esp, 4
test byte [esp + 0x38], 1
je 0x657150
push dword [esp + 0x40]
call fcn.0051c570
add esp, 4
jmp 0x657150
mov eax, dword [esp + 0x50]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test eax, eax
je 0x6575c8
mov dword [esp + 0x54], eax
push eax
call fcn.0051c570
add esp, 4
cmp esi, edi
setne al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x20]
call fcn.0051f6b0
nop