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

Disassembly:
mov eax, 0x2ed0
call fcn.004b68c0
mov eax, dword [esp + 0x2ed4]
push ebx
mov ebx, dword [esp + 0x2edc]
push esi
movsx ecx, word [eax + 0x2bc]
push edi
lea eax, [ecx + ecx*2]
shl eax, 3
sub eax, ecx
lea ecx, [eax + eax*2]
lea eax, [ebx + ebx*4]
lea edx, [eax + eax*8]
mov eax, dword [ecx*4 + 0xecc790]
lea edi, [ecx*4 + 0xecc6b8]
mov ecx, dword [esp + 0x2ee8]
shl edx, 1
sub edx, ebx
mov dword [esp + 0x28], edi
lea eax, [eax + edx*4]
lea edx, [ecx + ecx*8]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 0x78]
lea esi, [eax + edx*4]
mov ax, word [eax + edx*4 + 0x14]
cmp ax, 0xffff
je 0x437032
movsx edx, ax
movsx edx, word [edi + edx*2 + 0x90]
imul edx, edx, 0x88
fld dword [edx + 0x8e89bc]
fcomp dword [0x51d808]
fnstsw ax
test ah, 0x41
je 0x437032
fld dword [edx + 0x8e89c0]
fcomp dword [0x51d808]
fnstsw ax
test ah, 0x41
je 0x437032
fld dword [edx + 0x8e89c4]
fcomp dword [0x51d808]
fnstsw ax
test ah, 0x41
je 0x437032
movsx eax, byte [esi]
mov dword [esp + 0x20], eax
mov dword [esp + 0x114], ebx
mov dword [esp + 0x4c], ecx
mov al, byte [esi]
push ebp
xor ebp, ebp
test al, al
mov dword [esp + 0x1c], 1
jle 0x436d84
lea ecx, [esp + 0x1e0]
mov dword [esp + 0x10], ecx
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x2ee4]
movsx eax, word [edx + ebp*2]
mov edx, dword [esp + 0x10]
push eax
push ebx
push ecx
push edx
call fcn.00433c30
movsx eax, byte [esi]
mov edx, dword [esp + 0x20]
add esp, 0x10
inc ebp
add edx, 0xc
cmp ebp, eax
mov dword [esp + 0x10], edx
jl 0x436d53
lea ecx, [esp + 0x1f8]
lea edx, [esp + 0x1ec]
push ecx
lea eax, [esp + 0x1e4]
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.004cb390
fstp st(0)
add esp, 0x10
mov dword [esp + 0x18], 0
xor ebp, ebp
mov dword [esp + 0x28], 0x7f99b0
mov dword [esp + 0x20], ebp
cmp ebp, dword [edi + 0x38]
jge 0x436fe6
mov ebx, dword [edi + 0xd8]
mov ecx, dword [esp + 0x20]
add ebx, ecx
push ebp
push edi
mov dword [esp + 0x3c], ebx
call fcn.0047e9c0
add esp, 8
test eax, eax
jne 0x436f56
cmp ebx, dword [esp + 0x30]
jne 0x436f56
mov eax, dword [ebx + 0x94]
xor edx, edx
cmp eax, edx
mov dword [esp + 0x14], edx
jle 0x436f56
mov dword [esp + 0x10], edx
cmp dword [esp + 0x18], 0xc0
jge 0x436f38
cmp edx, dword [esp + 0x2eec]
je 0x436f38
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
cmp byte [ecx + edx], 0
jne 0x436f38
mov esi, dword [ebx + 0x78]
mov eax, dword [esp + 0x10]
add esi, eax
movsx eax, word [esi + 0x14]
movsx ecx, word [edi + eax*2 + 0x90]
imul ecx, ecx, 0x88
fld dword [ecx + 0x8e89bc]
fcomp dword [0x51d808]
fnstsw ax
test ah, 0x41
je 0x436f38
fld dword [ecx + 0x8e89c0]
fcomp dword [0x51d808]
fnstsw ax
test ah, 0x41
je 0x436f38
fld dword [ecx + 0x8e89c4]
fcomp dword [0x51d808]
fnstsw ax
test ah, 0x41
je 0x436f38
mov al, byte [esi]
xor edi, edi
test al, al
jle 0x436ed1
lea ebx, [esp + 0x10e0]
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x2ee4]
movsx edx, word [ecx + edi*2]
push edx
push ebp
push eax
push ebx
call fcn.00433c30
movsx ecx, byte [esi]
add esp, 0x10
inc edi
add ebx, 0xc
cmp edi, ecx
jl 0x436ea8
mov ebx, dword [esp + 0x34]
lea edx, [esp + 0x10f8]
lea eax, [esp + 0x10ec]
push edx
lea ecx, [esp + 0x10e4]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
call fcn.004cb390
movsx ecx, byte [esi]
fstp st(0)
push 0xffffffffffffffff
lea eax, [esp + 0x4c]
push 0xffffffffffffffff
push eax
lea edx, [esp + 0x10fc]
push ecx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x64]
push edx
push eax
lea edx, [esp + 0x208]
push ecx
lea eax, [esp + 0x200c]
push edx
push eax
call fcn.00432f50
add esp, 0x34
test eax, eax
jg 0x436f75
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x94]
inc edx
add ecx, 0x24
cmp edx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
jl 0x436e0e
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
inc ebp
add ecx, 0x164
add eax, 4
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
jmp 0x436dc1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x2eec]
mov edi, dword [esp + 0x1c]
mov dword [esp + ecx + 0x11c], ebp
mov dword [esp + ecx + 0x54], edx
add ecx, 4
inc edi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2ee8]
test eax, eax
mov ecx, dword [ecx*4 + 0x7f99b0]
mov dword [esp + 0x1c], edi
mov byte [ecx + esi], 1
mov ecx, dword [ebp*4 + 0x7f99b0]
mov byte [ecx + edx], 1
jle 0x436fd9
lea ecx, [eax + eax*2]
lea esi, [esp + 0x1fe0]
shl ecx, 2
shr ecx, 2
lea edi, [esp + 0x1e0]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
jmp 0x436db3
mov eax, dword [esp + 0x1c]
pop ebp
cmp eax, 1
jle 0x437023
mov edx, dword [esp + 0x2eec]
mov ecx, dword [esp + 0x20]
push edx
lea edx, [esp + 0x1e0]
push ecx
push edx
mov edx, dword [esp + 0x2eec]
push eax
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x124]
push eax
push ecx
push edx
call fcn.004354d0
add esp, 0x1c
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2ed0
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x2ed0
ret