Function at 0x436c52
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.00433b3f
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 0x436cbd
lea eax, [ebx + 0x1c0]
jmp 0x436cbf
xor eax, eax
mov dword [esp + 0x34], eax
test ecx, ecx
jne 0x436ccd
mov ecx, dword [ebx + 0x124]
test esi, esi
jne 0x436cd7
mov esi, dword [ebx + 0x128]
test ebp, ebp
je 0x436ce9
mov esi, dword [ebx + 0x118]
lea esi, [esi + ebp]
shr esi, 1
inc esi
jmp 0x436d09
cmp edx, dword [ebx + 0x114]
jne 0x436cfd
test edx, edx
je 0x436cfd
imul esi, ecx
imul esi, edx
jmp 0x436d03
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 0x436d6d
test eax, eax
jne 0x436d6d
mov edx, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebp
jmp 0x436d79
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 0x436f6f
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 0x436e65
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 [0x469898]
cmp dword [edx + ecx], ebx
mov ebp, dword [edx + ecx + 4]
mov ebx, dword [edx + ecx]
jne 0x436de7
cmp ebp, dword [0x46989c]
je 0x436e19
cmp dword [edx + ecx + 0x10], 0
jbe 0x436e19
cmp dword [esp + 0x38], 0
ja 0x436dfc
cmp dword [esp + 0x30], 0
jbe 0x436e0a
cmp ebp, dword [esp + 0x38]
ja 0x436e19
jb 0x436e0a
cmp ebx, dword [esp + 0x30]
jae 0x436e19
cmp ebp, dword [esp + 0xa8]
jb 0x436e1f
ja 0x436e19
cmp ebx, esi
jbe 0x436e1f
sub edx, 0x18
dec eax
jns 0x436dcd
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test eax, eax
js 0x436e61
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 0x436edf
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 [0x469898]
jne 0x436e95
cmp edi, dword [0x46989c]
je 0x436ec7
cmp dword [ecx + edx + 0x10], 0
jbe 0x436ec7
cmp dword [esp + 0x38], 0
ja 0x436eaa
cmp dword [esp + 0x30], 0
jbe 0x436eb8
cmp edi, dword [esp + 0x38]
ja 0x436ec7
jb 0x436eb8
cmp ebx, dword [esp + 0x30]
jae 0x436ec7
cmp edi, dword [esp + 0xa8]
ja 0x436ecf
jb 0x436ec7
cmp ebx, esi
ja 0x436ecf
inc eax
add ecx, 0x18
cmp eax, ebp
jl 0x436e7e
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 0x436f1c
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 0x436f6f
mov eax, dword [esp + 0x58]
ja 0x436f32
cmp eax, dword [esp + 0x54]
jb 0x436f6f
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 0x436f73
mov eax, dword [esp + 0x10]
cmp edx, dword [esp + 0x24]
jne 0x436f8b
cmp ebp, eax
jne 0x436f8b
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 0x43727b
mov ebx, dword [esp + 0x24]
jb 0x436fc2
cmp ebx, edx
jae 0x43727b
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x2c]
ja 0x43727b
jb 0x436fe0
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x28]
ja 0x43727b
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.0040b2a6
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 0x4370e0
jg 0x4370d2
cmp ebx, dword [esp + 0x28]
jb 0x4370e0
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
sub ebx, 1
sbb ebp, 0
cmp ebp, dword [esp + 0x20]
jg 0x4370f6
jl 0x4370ee
cmp ebx, dword [esp + 0x1c]
jae 0x4370f6
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 0x43727b
push edi
call fcn.00433a52
pop ecx
test eax, eax
je 0x437283
mov eax, dword [edi + 4]
push edi
and dword [eax + 0x1808], 0
call fcn.00433cf8
pop ecx
test eax, eax
je 0x43727b
mov eax, dword [edi]
cmp dword [eax], 7
je 0x43727b
mov eax, dword [edi + 4]
cmp dword [eax + 0xe30], 0
je 0x437276
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 0x437176
cmp dword [eax + 0xf4], 0
je 0x43719c
mov ecx, dword [eax + 0xea8]
add ecx, edx
push 0
pop edx
adc edx, dword [eax + 0xec4]
cmp edx, dword [esp + 0x18]
jb 0x4371bf
ja 0x437195
cmp ecx, dword [esp + 0x14]
jb 0x4371bf
cmp dword [esp + 0x68], 0
jne 0x4371bf
cmp ebx, dword [esp + 0x1c]
jne 0x4371ac
cmp ebp, dword [esp + 0x20]
je 0x43727b
test esi, esi
je 0x4371b7
add esi, esi
jmp 0x437252
push 0x10
pop esi
jmp 0x437252
and dword [esp + 0x68], 0
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x10]
jb 0x43727b
mov esi, dword [esp + 0x3c]
ja 0x4371e2
cmp esi, dword [esp + 0x24]
jb 0x43727b
cmp dword [esp + 0xa8], eax
ja 0x437219
jb 0x4371f6
cmp dword [esp + 0xa4], esi
jae 0x437219
lea eax, [esp + 0x28]
mov dword [esp + 0x14], ecx
push eax
push edi
mov dword [esp + 0x20], edx
call fcn.00433ac6
pop ecx
pop ecx
test eax, eax
je 0x43727b
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
jmp 0x43723a
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], ecx
push eax
push edi
mov dword [esp + 0x18], edx
call fcn.00433ac6
pop ecx
pop ecx
test eax, eax
je 0x43727b
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.0040b4d0
lea esi, [eax + 0x10]
mov ebp, dword [esp + 0x18]
cmp dword [esp + 0x10], ebp
ja 0x43727b
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
jb 0x43726a
cmp ebx, edx
jae 0x43727b
mov ecx, dword [esp + 0xa4]
jmp 0x436fc2
xor eax, eax
inc eax
jmp 0x437285
mov eax, dword [edi]
mov dword [eax], 6
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret