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

Disassembly:
sub esp, 0x54
push esi
push edi
mov edi, dword [esp + 0x70]
test edi, edi
mov esi, ecx
jne 0x603875
pop edi
xor eax, eax
pop esi
add esp, 0x54
ret 0x38
push ebx
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x6038ab
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0x848]
test ecx, ecx
je 0x6038bb
mov edx, dword [esi]
push ebx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call dword [edx + 0xc0]
cmp dword [esp + 0x58], 2
lea ecx, [esp + 0x24]
jne 0x6038b6
call fcn.0056d73c
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x54
ret 0x38
call fcn.0056d73c
push ebp
mov ebp, dword [esp + 0x6c]
push edi
push ebp
push ebx
mov ecx, esi
call fcn.005fa70c
test eax, eax
jne 0x6039c4
push 0x5fbed4
push ebx
call fcn.00572fac
add esp, 8
test eax, eax
je 0x6038fc
mov edx, dword [esi]
push ebp
push ebx
mov ecx, esi
call dword [edx + 0x3c]
mov ecx, eax
call fcn.0063481c
test al, al
jne 0x6039c4
push 0x5fbed4
push ebx
call fcn.00572fac
add esp, 8
test eax, eax
jne 0x6039c4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
test eax, eax
je 0x6039d0
mov ecx, dword [esi + 0x7fc]
test ecx, ecx
je 0x6039d0
call fcn.00554aec
test eax, eax
je 0x6039d0
mov ecx, dword [0x7468a8]
push 0x4c
call fcn.0054531c
test eax, eax
je 0x60395c
push esi
mov ecx, eax
call fcn.005f122c
mov edi, eax
jmp 0x60395e
xor edi, edi
push ebx
call fcn.0057335c
push ebp
mov dword [edi + 0x1c], eax
call fcn.0057335c
mov ecx, dword [esp + 0x84]
add esp, 8
push ecx
lea ecx, [edi + 0x34]
mov dword [edi + 0x20], eax
call fcn.00696e4c
mov edx, dword [esp + 0x70]
push edx
call fcn.0057335c
movzx ecx, word [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x78]
push edx
mov dword [edi + 0x28], eax
mov dword [edi + 0x30], ecx
call fcn.0057335c
add esp, 8
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x78]
push edi
mov ecx, esi
mov dword [edi + 0x44], eax
call fcn.005fa3fc
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x54
ret 0x38
mov eax, dword [esp + 0x7c]
test eax, eax
mov dword [esp + 0x68], 2
je 0x6039ec
push eax
lea ecx, [esp + 0x6c]
call fcn.005ae0ec
jmp 0x603a33
push esi
push 0
push ebp
call fcn.005eb11c
add esp, 0xc
test eax, eax
mov dword [esp + 0x78], eax
jl 0x603a16
fild dword [esp + 0x78]
push esi
sub esp, 8
lea ecx, [esp + 0x74]
fstp qword [esp]
call fcn.005ae05c
jmp 0x603a33
test byte [esp + 0x80], 0x40
je 0x603a33
mov ecx, esi
call fcn.005eca0c
push eax
push ebp
push esi
lea ecx, [esp + 0x74]
call fcn.005adf5c
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0xc]
push ebx
call fcn.005ebfcc
test al, al
je 0x603acb
push 0
push edi
mov ecx, esi
call fcn.005f0d7c
test al, al
jne 0x603acb
mov al, byte [esi + 0x890]
test al, al
je 0x603abf
mov ecx, dword [esi]
push 0x74
push 3
push esi
call dword [ecx + 0xe0]
mov eax, dword [esi + 0xc68]
mov ecx, dword [eax*4 + 0x5fb3b0]
mov edx, dword [esi]
push ebx
push ecx
push 0x78
push 3
push esi
call dword [edx + 0xe0]
lea edi, [esi + 0x24]
add esp, 0x20
mov ecx, edi
call fcn.0058dd6c
test eax, eax
je 0x603abf
push 0x74
push 3
push edi
call fcn.0058e23c
mov edx, dword [esi + 0xc68]
mov eax, dword [edx*4 + 0x5fb3b0]
push ebx
push eax
push 0x78
push 3
push edi
call fcn.0058e23c
add esp, 0x20
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x54
ret 0x38
lea ecx, [esp + 0x68]
call fcn.0054548c
cmp eax, 2
jne 0x603b7d
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0xc]
push ebp
call fcn.005ec11c
test al, al
je 0x603b7d
push 1
push edi
mov ecx, esi
call fcn.005f0d7c
test al, al
jne 0x603b7d
mov al, byte [esi + 0x890]
test al, al
je 0x603b71
mov ecx, dword [esi]
push 0x74
push 3
push esi
call dword [ecx + 0xe0]
mov eax, dword [esi + 0xc68]
mov ecx, dword [eax*4 + 0x5fb3b0]
mov edx, dword [esi]
push ebx
push ecx
push ebp
push 0xac
push 3
push esi
call dword [edx + 0xe0]
lea edi, [esi + 0x24]
add esp, 0x24
mov ecx, edi
call fcn.0058dd6c
test eax, eax
je 0x603b71
push 0x74
push 3
push edi
call fcn.0058e23c
mov edx, dword [esi + 0xc68]
mov eax, dword [edx*4 + 0x5fb3b0]
push ebx
push eax
push ebp
push 0xac
push 3
push edi
call fcn.0058e23c
add esp, 0x24
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x54
ret 0x38
test ebp, ebp
mov eax, ebp
jne 0x603b88
mov eax, 0x5f6cb3
push eax
lea ecx, [esp + 0x14]
call fcn.0057362c
test ebp, ebp
je 0x603c06
cmp byte [ebp], 0
je 0x603c06
lea ecx, [esp + 0x68]
call fcn.0054548c
cmp eax, 2
jne 0x603c06
test byte [esp + 0x80], 0x20
jne 0x603c06
mov ecx, edi
call fcn.005be55c
cmp eax, 1
jne 0x603c06
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0xc]
push ebp
call fcn.005ec11c
test al, al
jne 0x603c06
push 0x5f7ecc
push ebp
call fcn.005737fc
add esp, 8
test al, al
jne 0x603c06
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.005ec6bc
push eax
lea ecx, [esp + 0x14]
call fcn.0057364c
lea ecx, [esp + 0x1c]
call fcn.00539d3c
lea ecx, [esp + 0x68]
call fcn.0054548c
cmp eax, 2
jne 0x603cb2
test byte [esp + 0x80], 0x20
jne 0x603cb2
mov eax, dword [esi]
push ebx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call dword [eax + 0xbc]
mov eax, dword [esp + 0x28]
cmp byte [eax], 0
mov ebp, eax
je 0x603c72
mov eax, dword [esi + 0xc6c]
test eax, eax
je 0x603c90
mov ecx, edi
call fcn.005bd4dc
test eax, eax
jne 0x603c90
mov ecx, edi
call fcn.005bd4cc
mov edx, dword [eax]
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0xc]
push 0xad
push edx
push ebx
push esi
call fcn.005ea7fc
lea ecx, [esp + 0x28]
call fcn.0056d73c
lea ecx, [esp + 0x10]
call fcn.00539d3c
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x54
ret 0x38
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x74]
mov edx, dword [esi]
push edi
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push ebp
mov ecx, esi
call dword [edx + 0x4c]
jmp 0x603c72
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x8c]
push eax
push ecx
push edx
mov edx, dword [esi]
lea eax, [esp + 0x90]
push eax
push ebx
mov ecx, esi
call dword [edx + 0x3c]
mov ecx, eax
call fcn.0060354c
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00539d3c
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
add esp, 0x54
ret 0x38