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

Disassembly:
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x98]
push edi
mov dword [esp + 0x6c], 1
mov ebx, dword [edi + 4]
mov dword [esp + 0x80], ebx
mov eax, dword [ebx + 0x17f8]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x17fc]
mov dword [esp + 0x44], eax
call fcn.0043395f
cmp dword [ebx + 0xfc], 0
mov ebp, dword [ebx + 0x11c]
mov dword [esp + 0x34], eax
mov eax, dword [edi]
pop ecx
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x110]
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0x10]
je 0x436add
lea eax, [ebx + 0x1c0]
jmp 0x436adf
xor eax, eax
mov dword [esp + 0x34], eax
test ecx, ecx
jne 0x436aed
mov ecx, dword [ebx + 0x124]
test esi, esi
jne 0x436af7
mov esi, dword [ebx + 0x128]
test ebp, ebp
je 0x436b09
mov esi, dword [ebx + 0x118]
lea esi, [esi + ebp]
shr esi, 1
inc esi
jmp 0x436b29
cmp edx, dword [ebx + 0x114]
jne 0x436b1d
test edx, edx
je 0x436b1d
imul esi, ecx
imul esi, edx
jmp 0x436b23
imul esi, ecx
shl esi, 0xc
shr esi, 3
add esi, 0x40
mov eax, dword [esp + 0x4c]
and dword [esp + 0x24], 0
and dword [esp + 0x10], 0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x60], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x50], esi
test ecx, ecx
jne 0x436b8d
test eax, eax
jne 0x436b8d
mov edx, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebp
jmp 0x436b99
mov edx, eax
mov dword [esp + 0x14], eax
mov ebp, ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x436d8f
mov eax, dword [esp + 0x4c]
and dword [esp + 0x74], 0
and dword [esp + 0x6c], 0
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx]
mov dword [esp + 0x8c], eax
dec eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x3c], ebp
js 0x436c85
mov ecx, dword [ecx + 4]
mov esi, dword [esp + 0xa4]
imul edi, eax, 0x18
mov dword [esp + 0x44], edi
mov edx, edi
mov ebx, dword [0x46d890]
cmp dword [edx + ecx], ebx
mov ebp, dword [edx + ecx + 4]
mov ebx, dword [edx + ecx]
jne 0x436c07
cmp ebp, dword [0x46d894]
je 0x436c39
cmp dword [edx + ecx + 0x10], 0
jbe 0x436c39
cmp dword [esp + 0x38], 0
ja 0x436c1c
cmp dword [esp + 0x30], 0
jbe 0x436c2a
cmp ebp, dword [esp + 0x38]
ja 0x436c39
jb 0x436c2a
cmp ebx, dword [esp + 0x30]
jae 0x436c39
cmp ebp, dword [esp + 0xa8]
jb 0x436c3f
ja 0x436c39
cmp ebx, esi
jbe 0x436c3f
sub edx, 0x18
dec eax
jns 0x436bed
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test eax, eax
js 0x436c81
imul eax, eax, 0x18
mov ebp, dword [eax + ecx + 8]
add ebp, dword [esp + 0x4c]
mov dword [esp + 0x54], ebp
mov ebp, dword [eax + ecx + 0xc]
adc ebp, dword [esp + 0x40]
mov dword [esp + 0x5c], ebp
mov ebp, dword [eax + ecx]
mov eax, dword [eax + ecx + 4]
mov dword [esp + 0x74], ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x34]
xor eax, eax
cmp dword [ecx], eax
jle 0x436cff
mov edx, dword [ecx + 4]
xor ecx, ecx
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0xa4]
mov ebx, dword [ecx + edx]
mov edi, dword [ecx + edx + 4]
cmp ebx, dword [0x46d890]
jne 0x436cb5
cmp edi, dword [0x46d894]
je 0x436ce7
cmp dword [ecx + edx + 0x10], 0
jbe 0x436ce7
cmp dword [esp + 0x38], 0
ja 0x436cca
cmp dword [esp + 0x30], 0
jbe 0x436cd8
cmp edi, dword [esp + 0x38]
ja 0x436ce7
jb 0x436cd8
cmp ebx, dword [esp + 0x30]
jae 0x436ce7
cmp edi, dword [esp + 0xa8]
ja 0x436cef
jb 0x436ce7
cmp ebx, esi
ja 0x436cef
inc eax
add ecx, 0x18
cmp eax, ebp
jl 0x436c9e
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
cmp eax, dword [esp + 0x8c]
jge 0x436d3c
imul ecx, eax, 0x18
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
mov edi, dword [ecx + eax + 8]
add edi, dword [esp + 0x4c]
mov dword [esp + 0x58], edi
mov edi, dword [ecx + eax + 0xc]
adc edi, dword [esp + 0x40]
mov dword [esp + 0x60], edi
mov edi, dword [ecx + eax]
mov eax, dword [ecx + eax + 4]
mov dword [esp + 0x84], edi
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x60]
cmp ecx, dword [esp + 0x5c]
jb 0x436d8f
mov eax, dword [esp + 0x58]
ja 0x436d52
cmp eax, dword [esp + 0x54]
jb 0x436d8f
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebp
jmp 0x436d93
mov eax, dword [esp + 0x10]
cmp edx, dword [esp + 0x24]
jne 0x436dab
cmp ebp, eax
jne 0x436dab
add edx, 1
mov dword [esp + 0x14], edx
adc ebp, 0
mov dword [esp + 0x18], ebp
mov ecx, dword [esp + 0xa4]
mov edi, dword [esp + 0xa8]
mov dword [ebx + 0x1800], ecx
mov dword [ebx + 0x1804], edi
mov edi, dword [esp + 0x98]
cmp eax, ebp
ja 0x43709b
mov ebx, dword [esp + 0x24]
jb 0x436de2
cmp ebx, edx
jae 0x43709b
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x2c]
ja 0x43709b
jb 0x436e00
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x28]
ja 0x43709b
mov eax, ecx
mov ecx, dword [esp + 0xa8]
sub eax, ebx
mov dword [esp + 0x84], eax
sbb ecx, dword [esp + 0x10]
and dword [esp + 0x6c], 0
mov eax, ecx
and ecx, 0x7fffffff
and eax, 0x80000000
mov dword [esp + 0x88], ecx
sub edx, ebx
fild qword [esp + 0x84]
mov dword [esp + 0x70], eax
mov ecx, ebp
sbb ecx, dword [esp + 0x10]
mov ebx, 0x80000000
and dword [esp + 0x60], 0
mov eax, ecx
fild qword [esp + 0x6c]
mov dword [esp + 0x74], edx
and eax, ebx
mov edx, 0x7fffffff
mov dword [esp + 0x64], eax
and ecx, edx
mov dword [esp + 0x78], ecx
fchs
faddp st(1)
fstp qword [esp + 0x44]
fld qword [esp + 0x44]
fild qword [esp + 0x74]
fild qword [esp + 0x60]
fchs
faddp st(1)
fstp qword [esp + 0x44]
fdiv qword [esp + 0x44]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
sbb ecx, dword [esp + 0x20]
and dword [esp + 0x7c], 0
mov dword [esp + 0x8c], eax
mov eax, ecx
and ecx, edx
and eax, ebx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x80], eax
fild qword [esp + 0x8c]
fild qword [esp + 0x7c]
fchs
faddp st(1)
fstp qword [esp + 0x44]
fmul qword [esp + 0x44]
call fcn.0040b296
mov ebx, eax
mov ebp, edx
sub ebx, esi
sbb ebp, 0
add ebx, dword [esp + 0x1c]
adc ebp, dword [esp + 0x20]
cmp ebp, dword [esp + 0x2c]
jl 0x436f00
jg 0x436ef2
cmp ebx, dword [esp + 0x28]
jb 0x436f00
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
sub ebx, 1
sbb ebp, 0
cmp ebp, dword [esp + 0x20]
jg 0x436f16
jl 0x436f0e
cmp ebx, dword [esp + 0x1c]
jae 0x436f16
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov eax, dword [edi + 4]
push dword [eax + 0x30]
push ebp
push ebx
push edi
call dword [eax + 8]
add esp, 0x10
test eax, eax
jne 0x43709b
push edi
call fcn.00433872
pop ecx
test eax, eax
je 0x4370a3
mov eax, dword [edi + 4]
push edi
and dword [eax + 0x1808], 0
call fcn.00433b18
pop ecx
test eax, eax
je 0x43709b
mov eax, dword [edi]
cmp dword [eax], 7
je 0x43709b
mov eax, dword [edi + 4]
cmp dword [eax + 0xe30], 0
je 0x437096
cmp dword [eax + 0xf0], 0
mov edx, dword [eax + 0xec0]
mov ecx, dword [eax + 0xec4]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], ecx
jne 0x436f96
cmp dword [eax + 0xf4], 0
je 0x436fbc
mov ecx, dword [eax + 0xea8]
add ecx, edx
push 0
pop edx
adc edx, dword [eax + 0xec4]
cmp edx, dword [esp + 0x18]
jb 0x436fdf
ja 0x436fb5
cmp ecx, dword [esp + 0x14]
jb 0x436fdf
cmp dword [esp + 0x68], 0
jne 0x436fdf
cmp ebx, dword [esp + 0x1c]
jne 0x436fcc
cmp ebp, dword [esp + 0x20]
je 0x43709b
test esi, esi
je 0x436fd7
add esi, esi
jmp 0x437072
push 0x10
pop esi
jmp 0x437072
and dword [esp + 0x68], 0
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x10]
jb 0x43709b
mov esi, dword [esp + 0x3c]
ja 0x437002
cmp esi, dword [esp + 0x24]
jb 0x43709b
cmp dword [esp + 0xa8], eax
ja 0x437039
jb 0x437016
cmp dword [esp + 0xa4], esi
jae 0x437039
lea eax, [esp + 0x28]
mov dword [esp + 0x14], ecx
push eax
push edi
mov dword [esp + 0x20], edx
call fcn.004338e6
pop ecx
pop ecx
test eax, eax
je 0x43709b
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
jmp 0x43705a
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], ecx
push eax
push edi
mov dword [esp + 0x18], edx
call fcn.004338e6
pop ecx
pop ecx
test eax, eax
je 0x43709b
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
sub ecx, ebx
push 0
sbb eax, ebp
shld eax, ecx, 1
push 3
push eax
add ecx, ecx
push ecx
call fcn.0040b4c0
lea esi, [eax + 0x10]
mov ebp, dword [esp + 0x18]
cmp dword [esp + 0x10], ebp
ja 0x43709b
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
jb 0x43708a
cmp ebx, edx
jae 0x43709b
mov ecx, dword [esp + 0xa4]
jmp 0x436de2
xor eax, eax
inc eax
jmp 0x4370a5
mov eax, dword [edi]
mov dword [eax], 6
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret