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

Disassembly:
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov edi, dword [0x65b33c]
lea eax, [esp + 0x2c]
push eax
mov esi, ecx
call edi
lea ecx, [esp + 0x3c]
push ecx
call edi
lea edx, [esp + 0x4c]
push edx
call edi
lea eax, [esp + 0x5c]
push eax
call edi
lea ecx, [esp + 0x70]
push ecx
call edi
xor ebp, ebp
xor edx, edx
cmp dword [esi + 0xc0], ebp
mov dword [esp + 0x14], ebp
setne dl
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], edx
cmp dword [0x842680], ebp
je 0x536b74
mov ecx, dword [esi + 4]
cmp ecx, ebp
je 0x536b54
call fcn.005312f0
mov eax, dword [esi + 8]
mov ecx, dword [0x842680]
push eax
call fcn.005284e0
test eax, eax
je 0x536b74
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x80
ret
mov ecx, dword [esi + 4]
mov dword [esi + 8], ebp
cmp ecx, ebp
je 0x536b92
call fcn.00531320
lea ecx, [esi + 0x94]
push ecx
mov ecx, dword [esi + 4]
call fcn.00531170
lea edx, [esi + 0x94]
push edx
call edi
lea eax, [esp + 0x3c]
push eax
call edi
lea ecx, [esp + 0x4c]
push ecx
call edi
lea edx, [esp + 0x6c]
push 0x24
push edx
call fcn.0050cd20
fldz
mov ecx, dword [0x842680]
fstp dword [esp + 0x88]
fld dword [0x6625b8]
add esp, 8
fstp dword [esp + 0x84]
call fcn.00525c20
mov ecx, dword [esi + 4]
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x8c], eax
cmp ecx, ebp
je 0x536c1b
lea eax, [esp + 0x3c]
push eax
call fcn.005331d0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov edi, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
jmp 0x536c1d
xor edi, edi
cmp dword [esp + 0x10], ebp
je 0x536c5e
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x70]
push eax
push ebp
mov ecx, esi
call fcn.00536870
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x14], eax
call dword [0x65b3c8]
lea edx, [esp + 0x70]
mov ebx, eax
push edx
neg ebx
lea eax, [esp + 0x50]
push eax
mov ecx, edx
sbb ebx, ebx
push ecx
inc ebx
call dword [0x65b42c]
cmp edi, ebp
jne 0x536c6a
cmp ebx, ebp
je 0x536e7e
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [0x65b42c]
mov eax, dword [0x8211a4]
movzx edx, word [eax + 0x7648]
movzx eax, word [eax + 0x764a]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], edx
push ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x2c], eax
push edx
mov eax, ecx
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call dword [0x65b460]
mov ecx, dword [esi + 4]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
cmp ecx, ebp
je 0x536cfd
call fcn.005311e0
mov ecx, dword [0x842680]
push ebp
call fcn.00527a90
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [0x842680]
cmp ecx, ebp
je 0x536d33
fld1
sub esp, 8
fstp dword [esp + 4]
sub eax, edi
fldz
sub edx, ebx
fstp dword [esp]
push eax
push edx
push edi
push ebx
call fcn.00527510
mov ecx, dword [0x842680]
call fcn.00525c30
mov ecx, dword [0x842680]
cmp dword [esp + 0x10], ebp
je 0x536d4e
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x70]
push edx
push 1
mov ecx, esi
call fcn.00536870
jmp 0x536d68
cmp ecx, ebp
je 0x536d68
push ebp
call fcn.00527a90
mov ecx, dword [0x842680]
push 0xff000000
call fcn.00525e40
xor edi, edi
lea ebx, [ebx]
cmp dword [esp + 0x10], ebp
je 0x536d94
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x70]
push ecx
push 2
mov ecx, esi
mov dword [esp + 0x94], edi
call fcn.00536870
mov ebx, eax
jmp 0x536d96
xor ebx, ebx
mov ecx, dword [esi + 4]
cmp ecx, ebp
je 0x536dcc
fld dword [esp + 0x84]
sub esp, 8
fstp dword [esp + 4]
lea edx, [esp + 0x24]
fld dword [esp + 0x88]
fstp dword [esp]
push edx
call fcn.00535d90
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
cmp dword [esp + 0x10], ebp
je 0x536dec
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x70]
push ecx
push 3
mov ecx, esi
mov dword [esp + 0x94], edi
call fcn.00536870
inc edi
cmp ebx, ebp
jne 0x536d70
cmp dword [esp + 0x10], ebp
je 0x536e21
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x70]
push eax
push 4
mov ecx, esi
call fcn.00536870
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x70]
push edx
push 5
mov ecx, esi
call fcn.00536870
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x60]
push ecx
mov edx, eax
push edx
call dword [0x65b42c]
mov ecx, dword [0x842680]
lea eax, [esp + 0x2c]
push eax
call fcn.00525cb0
test eax, eax
je 0x536e54
mov ecx, dword [esi + 4]
cmp ecx, ebp
je 0x536e54
call fcn.00532800
cmp dword [esi + 4], ebp
je 0x536e7e
fld1
mov ecx, dword [0x842680]
sub esp, 8
fstp dword [esp + 4]
fldz
fstp dword [esp]
push ebp
push ebp
push ebp
push ebp
call fcn.00527510
mov ecx, dword [esi + 4]
call fcn.00531200
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret