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

Disassembly:
imul eax, eax, 0x150
sub esp, 0x68
push ebx
mov ebx, dword [esp + 0x78]
push ebp
mov ebp, dword [esp + 0x78]
add eax, dword [ebp + 0xcc]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 1
push esi
push edi
mov edi, eax
jne 0x437f25
mov esi, dword [ebp + 0xf8]
mov eax, dword [ebp + 0xac]
add esi, 0xa0
test eax, eax
je 0x437df8
cmp eax, 2
jne 0x4380e6
mov eax, dword [edi + 0xa4]
mov ecx, dword [edi + 0x80]
add eax, eax
add eax, eax
push eax
push 0
push ecx
call fcn.005bfd50
mov edx, dword [edi + 0xa4]
mov eax, dword [edi + 0x84]
add edx, edx
add edx, edx
push edx
push 0
push eax
call fcn.005bfd50
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0x84]
mov dword [esi + 4], ecx
mov edx, dword [edi + 0xa4]
xor ecx, ecx
mov dword [esi + 8], edx
cmp dword [ebp + 0xac], 2
push 0x34
sete cl
push eax
lea edx, [esp + 0x64]
mov edi, 8
push edx
mov dword [esi], edi
mov byte [esi + 0x38], al
mov dword [esi + 0x18], ecx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
call fcn.005bfd50
push 0x34
lea eax, [esp + 0x38]
push 0
push eax
call fcn.005bfd50
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x74], ecx
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x9c], ecx
add esp, 0x30
mov ecx, 0x17
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x70], ecx
test eax, eax
je 0x437edf
mov edx, dword [eax + 4]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov edi, dword [esp + 0x7c]
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
push esi
push 0xa
call eax
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x48]
push eax
push 0xa
call edx
test eax, eax
jne 0x4380e6
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push esi
push 0xa
call edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x14
mov ecx, dword [ecx + 0x10]
mov edx, dword [ebp + 0xf8]
xor eax, eax
lea esi, [edx + 0x38]
mov dword [esp + 0x80], edi
cmp ecx, eax
jne 0x437f4f
cmp dword [ebp + 0xac], eax
jne 0x437f4f
mov dword [esp + 0x84], eax
jmp 0x437f94
cmp ecx, 1
je 0x437f59
cmp ecx, 3
jne 0x437f6e
cmp dword [ebp + 0xac], eax
jne 0x437f6e
mov dword [esp + 0x84], 0xffffffff
jmp 0x437f94
cmp ecx, 1
je 0x437f7c
cmp ecx, 3
jne 0x4380e6
cmp dword [ebp + 0xac], 2
jne 0x4380e6
mov dword [esp + 0x84], 0xfffffffe
mov ecx, dword [esp + 0x84]
mov dword [esi], ecx
mov dword [esi + 0x28], edx
mov edx, dword [edx + 0x90]
mov dword [esi + 0x20], edx
cmp dword [esp + 0x88], eax
je 0x437fc5
lea edi, [esi + 0x24]
mov eax, ebp
call fcn.00437d10
mov edi, dword [esp + 0x80]
xor eax, eax
movzx ecx, byte [esp + 0x8c]
mov dword [esi + 4], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov edx, dword [edi + 0xa4]
add edx, edx
add edx, edx
push edx
push eax
mov eax, dword [edi + 0x80]
push eax
call fcn.005bfd50
add esp, 0xc
cmp dword [esp + 0x84], 0
je 0x438017
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0x84]
add ecx, ecx
add ecx, ecx
push ecx
push 0
push edx
call fcn.005bfd50
add esp, 0xc
mov eax, dword [edi + 0x84]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x80]
push 0x34
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0xa0]
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esi + 8], edx
call fcn.005bfd50
push 0x34
lea ecx, [esp + 0x54]
push 0
push ecx
call fcn.005bfd50
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x28], edx
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x4c], ecx
add esp, 0x18
mov edi, 8
mov ecx, 0x17
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
test eax, eax
je 0x4380aa
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x50], edi
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x70], ecx
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
push esi
push 9
call eax
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x14]
push eax
push 9
call edx
test eax, eax
jne 0x4380e6
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push esi
push 9
call edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x14