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

Disassembly:
imul eax, eax, 0x150
sub esp, 0x6c
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 0x437e7f
mov esi, dword [ebp + 0xf8]
mov eax, dword [ebp + 0xac]
add esi, 0xa0
test eax, eax
je 0x437d53
cmp eax, 2
jne 0x43803a
mov eax, dword [edi + 0xa4]
mov ecx, dword [edi + 0x80]
add eax, eax
add eax, eax
push eax
push 0
push ecx
call fcn.00597130
mov edx, dword [edi + 0xa4]
mov eax, dword [edi + 0x84]
add edx, edx
add edx, edx
push edx
push 0
push eax
call fcn.00597130
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.00597130
push 0x34
lea eax, [esp + 0x38]
push 0
push eax
call fcn.00597130
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 + 0xb4]
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 0x437e3a
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 0x43803a
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
add esp, 0x6c
ret 0x10
mov ecx, dword [ecx + 0x10]
mov edx, dword [ebp + 0xf8]
xor eax, eax
lea esi, [edx + 0x38]
mov dword [esp + 0xc], edi
cmp ecx, eax
jne 0x437ea6
cmp dword [ebp + 0xac], eax
jne 0x437ea6
mov dword [esp + 0x80], eax
jmp 0x437eeb
cmp ecx, 1
je 0x437eb0
cmp ecx, 3
jne 0x437ec5
cmp dword [ebp + 0xac], eax
jne 0x437ec5
mov dword [esp + 0x80], 0xffffffff
jmp 0x437eeb
cmp ecx, 1
je 0x437ed3
cmp ecx, 3
jne 0x43803a
cmp dword [ebp + 0xac], 2
jne 0x43803a
mov dword [esp + 0x80], 0xfffffffe
mov ecx, dword [esp + 0x80]
mov dword [esi], ecx
mov dword [esi + 0x28], edx
mov edx, dword [edx + 0x90]
mov dword [esi + 0x20], edx
cmp dword [esp + 0x84], eax
je 0x437f19
lea edi, [esi + 0x24]
mov eax, ebp
call fcn.00437c70
mov edi, dword [esp + 0xc]
xor eax, eax
movzx ecx, byte [esp + 0x88]
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.00597130
add esp, 0xc
cmp dword [esp + 0x80], 0
je 0x437f6b
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0x84]
add ecx, ecx
add ecx, ecx
push ecx
push 0
push edx
call fcn.00597130
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.00597130
push 0x34
lea ecx, [esp + 0x54]
push 0
push ecx
call fcn.00597130
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x9c]
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 0x437ffe
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 0x43803a
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
add esp, 0x6c
ret 0x10