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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xa4]
cmp eax, dword [ecx + 8]
jbe 0x6591d7
sub esp, 0x124
lea eax, [0x785aa0]
mov dword [esp], eax
call fcn.00409cb0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0xc
mov eax, dword [0xadb480]
test eax, eax
jne 0x6591c7
lea eax, [0x7d751e]
mov dword [edi], eax
lea eax, [0x74c3c0]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00664790
mov eax, dword [esp + 0x128]
mov ecx, dword [eax]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.0065c980
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x6591b2
mov eax, dword [esp + 0x128]
mov ecx, dword [eax]
mov dword [esp + 0x70], ecx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov edx, dword [ecx + 0x3c]
mov dword [esp], edx
lea edx, [esp + 0xa8]
mov dword [esp + 4], edx
call fcn.004046e0
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xa8]
test al, al
je 0x65919d
xor eax, eax
xor ebp, ebp
test eax, eax
jne 0x659188
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x78], ebx
lea eax, [0x785a40]
mov dword [esp], eax
call fcn.00409cb0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
lea ecx, [0x74c380]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00663450
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x659173
lea edi, [esp + 0xb4]
xor eax, eax
call fcn.0044c969
lea edi, [esp + 0xd0]
call fcn.0044c95b
lea ecx, [esp + 0xd0]
mov dword [esp + 0xc0], ecx
call fcn.0043cdc0
mov ecx, dword [esp]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x128]
mov edx, dword [ecx]
mov ebx, dword [edx + 0xb4]
mov dword [esp + 0x40], ebx
mov ebp, dword [edx + 0xb0]
mov dword [esp + 0x74], ebp
mov edx, dword [edx + 0xb8]
mov dword [esp + 0x44], edx
lea esi, [0x770da0]
mov dword [esp], esi
call fcn.00409cb0
mov ecx, dword [esp + 4]
lea eax, [0x845230]
xor edx, edx
xor ebx, ebx
jmp 0x658f42
mov edi, dword [esp + 0x68]
lea esi, [edi + 1]
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x6c]
cmp esi, ebp
jge 0x659010
mov dword [esp + 0x68], esi
lea eax, [ecx + esi*8]
mov edx, dword [eax]
mov dword [esp + 0x5c], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x88], eax
mov ebx, dword [edx + 0x14]
mov dword [esp], eax
call ebx
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x54], ecx
lea edx, [0x775320]
mov dword [esp], edx
lea ebx, [esp + 0xb4]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0040e4b0
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
test al, al
jne 0x658e36
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x90]
xor ebx, ebx
jmp 0x658ed8
inc ebx
cmp ebx, eax
jge 0x658e36
lea ebp, [edx + ebx*8]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
cmp ebp, ecx
jne 0x658ed7
mov dword [esp + 0x64], ebx
mov dword [esp], esi
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.004021f0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x658f26
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x64]
jmp 0x658ed7
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x50]
mov ebp, ecx
mov ecx, eax
mov eax, ebp
test eax, eax
je 0x6590b0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], eax
mov edx, dword [eax + 0x10]
mov ebx, dword [esp + 0x12c]
mov ebp, dword [ebx + 0x38]
mov esi, dword [ebx + 0x34]
mov edi, dword [esp + 0x128]
mov edi, dword [edi]
mov eax, dword [ebx + 4]
mov ebx, dword [ebx]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x40]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebp
lea ebp, [0x845c70]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
mov dword [esp], ecx
call edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
test ecx, ecx
jne 0x65909b
cmp ebp, 2
je 0x65907e
test ebp, ebp
je 0x659026
test ebx, ebx
je 0x659019
mov dword [esp + 0x50], edx
mov dword [esp + 0x90], ebx
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x8c], ecx
mov ebp, dword [eax + 0x40]
mov dword [esp + 0x6c], ebp
xor esi, esi
jmp 0x658e5a
xor eax, eax
xor ecx, ecx
jmp 0x658f31
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x90]
jmp 0x658fe6
mov dword [esp + 0x60], edx
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
lea edx, [0x775320]
mov dword [esp], edx
lea ebx, [esp + 0xb4]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0040eb90
mov eax, dword [esp + 0x10]
mov byte [eax], 1
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x7c]
jmp 0x658fe2
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x124
ret
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], eax
add esp, 0x124
ret
lea eax, [esp + 0xb4]
mov dword [esp], eax
call fcn.006591f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea eax, [0x758c20]
mov dword [esp], eax
lea eax, [esp + 0x9c]
mov dword [esp + 4], eax
call fcn.004075a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
lea eax, [0x7ec1cd]
mov dword [esp], eax
mov dword [esp + 4], 0x4e
lea eax, [esp + 0x94]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bb7b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], ecx
add esp, 0x124
ret
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], eax
add esp, 0x124
ret
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], ebp
add esp, 0x124
ret
mov esi, dword [esp + 0x70]
mov eax, dword [esi + 0x40]
mov ebp, dword [esi + 0x44]
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x658d57
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], eax
add esp, 0x124
ret
lea eax, [0x7d751e]
call fcn.0044c870
jmp 0x658ca2
call fcn.0044b110
jmp fcn.00658c50