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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cd07a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push esi
mov esi, ecx
xor ecx, ecx
push edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x3c], ebx
cmp byte [esi + 0x2805], cl
je 0x532810
mov eax, dword [esi + 0x118]
cmp eax, ecx
jl 0x532810
mov ebx, 0xf
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], ecx
mov byte [esp + 0x70], cl
imul eax, eax, 0x68
mov byte [esp + 0xc4], 1
add eax, dword [0x6a5d14]
cmp dword [eax + 0x4c], ecx
jne 0x532543
add eax, 0x20
push eax
lea eax, [esp + 0x90]
push 0x63fdb4
push eax
call fcn.00419bc0
add esp, 0xc
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0xc8], 2
call fcn.00414c30
mov byte [esp + 0xc4], 1
cmp dword [esp + 0xa0], 0x10
jb 0x532590
mov ecx, dword [esp + 0x8c]
push ecx
jmp 0x532588
add eax, 0x3c
push eax
lea edx, [esp + 0x90]
push 0x63fdb8
push edx
call fcn.00419bc0
add esp, 0xc
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0xc8], 3
call fcn.00414c30
mov byte [esp + 0xc4], 1
cmp dword [esp + 0xa0], 0x10
jb 0x532590
mov eax, dword [esp + 0x8c]
push eax
call fcn.0048f06d
add esp, 4
push 3
xor edi, edi
push 0x63fdbc
lea ecx, [esp + 0x94]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa4], edi
mov byte [esp + 0x94], 0
call fcn.00401430
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x78]
mov byte [esp + 0xcc], 4
call fcn.0040fbb0
add esp, 8
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0xc8], 5
call fcn.00414c30
cmp dword [esp + 0x54], 0x10
jb 0x532602
mov eax, dword [esp + 0x40]
push eax
call fcn.0048f06d
add esp, 4
mov byte [esp + 0xc4], 1
cmp dword [esp + 0xa0], 0x10
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], edi
mov byte [esp + 0x40], 0
jb 0x532631
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.0048f06d
add esp, 4
xor al, al
lea ecx, [esp + 0x70]
lea edi, [esp + 0x2c]
call fcn.0041d390
mov bl, 6
mov byte [esp + 0xc4], bl
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x5326e1
mov eax, dword [esp + 0x70]
mov esi, 0x10
cmp dword [esp + 0x84], esi
jae 0x53266b
lea eax, [esp + 0x70]
push eax
call fcn.0046d410
add esp, 4
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc4], 1
call fcn.004155f0
cmp dword [esp + 0x84], esi
jb 0x53269b
mov edx, dword [esp + 0x70]
push edx
call fcn.0048f06d
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
mov dword [esp + 0xc4], 0xffffffff
call fcn.004155f0
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx]
mov edx, dword [eax + 0x128]
mov edi, ecx
call edx
mov edx, dword [edi]
mov edx, dword [edx + 0x120]
mov ecx, edi
mov dword [esp + 0x14], eax
call edx
mov ecx, dword [esp + 0x14]
push eax
mov eax, 0x10001
lea edi, [esp + 0x64]
call fcn.00408b00
add esp, 4
lea edi, [esp + 0x20]
mov byte [esp + 0xc4], 7
call fcn.00408860
lea ecx, [esp + 0x60]
mov byte [esp + 0xc4], bl
call fcn.004155f0
lea eax, [esp + 0x1c]
push eax
lea edi, [esp + 0x1c]
call fcn.005318d0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x114]
mov ebx, ecx
mov edi, ecx
call eax
fild dword [edi + 0x34]
fldz
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x10]
fiadd dword [edi + 0x30]
mov edi, dword [esp + 0x20]
mov ecx, edi
fstp dword [esp + 0x14]
fldz
fst dword [esp + 0x60]
fstp dword [esp + 0x64]
fld dword [esp + 0x14]
fstp dword [esp + 0x68]
fld dword [esp + 0x10]
fstp dword [esp + 0x6c]
mov edx, dword [edi]
mov eax, dword [edx + 0x114]
call eax
fild dword [edi + 0x34]
fldz
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
fadd st(1), st(0)
fxch st(1)
push eax
push ecx
lea eax, [esp + 0x68]
fstp dword [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
fiadd dword [edi + 0x30]
push ecx
push edi
mov ecx, ebx
fstp dword [esp + 0x28]
fldz
fst dword [esp + 0x54]
fstp dword [esp + 0x58]
fld dword [esp + 0x28]
fstp dword [esp + 0x5c]
fld dword [esp + 0x24]
fstp dword [esp + 0x60]
mov edx, dword [ebx]
mov edx, dword [edx + 0x24]
call edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc4], 1
call fcn.004155f0
mov byte [esp + 0xc4], 0
cmp dword [esp + 0x84], 0x10
jb 0x532880
mov eax, dword [esp + 0x70]
push eax
call fcn.0048f06d
add esp, 4
jmp 0x532880
mov edi, dword [esi + 0x1a8]
cmp edi, ecx
je 0x532867
mov edx, dword [esi + 0x2160]
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0x2160]
call eax
fild dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [edi]
mov edx, dword [edx + 0x24]
push eax
mov eax, dword [esi + 0x148]
push eax
sub esp, 8
fstp dword [esp + 4]
fild dword [ebp + 0xc]
fstp dword [esp]
push ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esi + 4], ecx
lea eax, [esi + 4]
je 0x532d3d
lea edi, [esp + 0x20]
call fcn.0043c0a0
mov edi, dword [esp + 0x20]
mov al, byte [esi + 0x198]
test al, al
je 0x5329b2
mov ecx, esi
call fcn.00532210
cmp dword [esi + 0x27f4], 0
je 0x5329b2
mov eax, dword [edi]
mov edx, dword [eax + 0x114]
mov ecx, edi
call edx
fild dword [edi + 0x34]
fldz
mov ebx, dword [esi + 0x27f4]
fadd st(1), st(0)
mov ecx, ebx
fxch st(1)
fstp dword [esp + 0x10]
fiadd dword [edi + 0x30]
fstp dword [esp + 0x14]
fldz
fst dword [esp + 0x40]
fstp dword [esp + 0x44]
fld dword [esp + 0x14]
fstp dword [esp + 0x48]
fld dword [esp + 0x10]
fstp dword [esp + 0x4c]
mov eax, dword [ebx]
mov edx, dword [eax + 0x114]
call edx
fild dword [ebx + 0x34]
fldz
mov eax, dword [esi + 0x27f4]
fadd st(1), st(0)
push 0x100
fxch st(1)
push 0
lea ecx, [esp + 0x48]
push ecx
fstp dword [esp + 0x1c]
lea ecx, [esp + 0x38]
push ecx
fiadd dword [ebx + 0x30]
push eax
mov ecx, edi
fstp dword [esp + 0x28]
fldz
fst dword [esp + 0x40]
fstp dword [esp + 0x44]
fld dword [esp + 0x28]
fstp dword [esp + 0x48]
fld dword [esp + 0x24]
fstp dword [esp + 0x4c]
mov edx, dword [edi]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [esi + 0x158]
mov eax, dword [esi + 0x27f4]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
mov eax, dword [0x692f10]
push 0x100
push eax
call fcn.005069e0
lea ecx, [esp + 0x14]
push ecx
lea edi, [esp + 0x14]
call fcn.005318d0
fldz
mov ebx, dword [esp + 0x14]
mov ecx, dword [esi + 0x27f4]
mov eax, dword [esi + 0x27fc]
mov edx, dword [ecx]
push ebx
mov ebx, dword [esp + 0x14]
push ebx
sub esp, 8
fst dword [esp + 4]
fstp dword [esp]
push eax
mov eax, dword [edx + 0x2c]
call eax
lea eax, [esi + 0x27fc]
lea edi, [esp + 0x20]
call fcn.0043c0a0
mov edi, dword [esp + 0x20]
cmp dword [esi + 0x1bf0], 4
jg 0x5329f8
mov edx, dword [esi + 0x1bf4]
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0x1bf4]
call eax
test eax, eax
je 0x5329f8
mov edx, dword [esi + 0x1cd8]
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0x1cd8]
call eax
test eax, eax
je 0x5329f8
mov edx, dword [esi + 0x1dbc]
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0x1dbc]
call eax
jmp 0x5329fa
xor eax, eax
inc eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], 0
test eax, eax
jle 0x532ce1
mov dword [esp + 0x1c], 0
cmp dword [esp + 0x18], 0
jne 0x532a4a
mov ecx, dword [esi + 0x148]
mov edx, dword [esi + 0x2160]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x14], ecx
lea ecx, [esi + 0x2160]
call eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
jmp 0x532b52
mov edx, dword [esi + 0x1bf4]
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0x1bf4]
mov dword [esp + 0x14], 0x80
call eax
mov edx, dword [esi + 0x1bf4]
mov ebx, eax
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0x1bf4]
call eax
mov edx, dword [esi + 0x1dbc]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0x1dbc]
call eax
mov ecx, eax
mov eax, dword [esp + 0x18]
dec eax
imul eax, dword [esp + 0x10]
cdq
idiv ecx
mov edx, dword [esi + 0x1cd8]
lea ecx, [esi + 0x1cd8]
sub ebx, eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x10], ebx
call eax
mov edx, dword [esi + 0x1dbc]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0x1dbc]
call eax
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x1bf0]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x28]
imul eax, dword [esp + 0x18]
lea ecx, [edx + ecx*2]
cdq
idiv dword [esp + 0x60]
mov edx, eax
imul edx, dword [ecx*8 + 0x6473e0]
mov eax, dword [esp + 0x5c]
sub eax, edx
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x1cd8]
mov edx, dword [eax + 0xc]
lea ecx, [esi + 0x1cd8]
call edx
mov ebx, eax
mov eax, dword [esi + 0x1dbc]
mov edx, dword [eax + 0xc]
lea ecx, [esi + 0x1dbc]
call edx
mov edx, dword [esp + 0x1c]
mov ecx, eax
mov eax, dword [esi + 0x1bf0]
lea eax, [eax + eax*4]
lea edi, [edx + eax*2]
mov eax, ebx
imul eax, dword [esp + 0x18]
cdq
idiv ecx
mov ecx, eax
imul ecx, dword [edi*8 + 0x6473e4]
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x20]
sub eax, ecx
mov ecx, dword [ebp + 0xc]
push 0
push eax
push ecx
push esi
lea eax, [esp + 0xb8]
call fcn.0050cee0
mov edx, dword [0x6a7b78]
mov eax, dword [edx + 0xc]
mov ecx, 0x6a7b78
call eax
lea ecx, [eax - 0x100]
imul ecx, dword [esi + 0x2818]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
cmp byte [esi + 0x2805], 0
lea ebx, [edx + ecx + 0x100]
je 0x532ba8
cmp dword [esi + 0x118], 0
jge 0x532c0c
mov edx, dword [esi + 0xa0c]
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0xa0c]
call eax
cmp eax, 0x100
jne 0x532c0c
mov edx, dword [esi + 0xaf0]
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0xaf0]
call eax
cmp eax, 0x100
jne 0x532c0c
cmp ebx, eax
jne 0x532c0c
mov eax, dword [esp + 0x10]
fild dword [esp + 0xac]
mov ecx, dword [esp + 0x14]
mov edx, dword [edi]
mov edx, dword [edx + 0x2c]
push eax
mov eax, dword [ebp + 8]
push ecx
sub esp, 8
fstp dword [esp + 4]
fild dword [esp + 0xb8]
fstp dword [esp]
push eax
jmp 0x532c9e
fild dword [esp + 0xa8]
mov ecx, edi
fstp dword [esp + 0x8c]
fild dword [esp + 0xac]
fstp dword [esp + 0x90]
fild dword [esp + 0xb0]
fstp dword [esp + 0x94]
fild dword [esp + 0xb4]
fstp dword [esp + 0x98]
mov eax, dword [edi]
mov edx, dword [eax + 0x114]
call edx
fild dword [edi + 0x34]
fldz
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
fadd st(1), st(0)
fxch st(1)
push ecx
push edx
lea ecx, [esp + 0x48]
fstp dword [esp + 0x30]
push ecx
mov ecx, dword [ebp + 8]
fiadd dword [edi + 0x30]
lea edx, [esp + 0x98]
push edx
push ecx
fstp dword [esp + 0x74]
fldz
fst dword [esp + 0x54]
fstp dword [esp + 0x58]
fld dword [esp + 0x74]
fstp dword [esp + 0x5c]
fld dword [esp + 0x3c]
fstp dword [esp + 0x60]
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
mov ecx, edi
call edx
inc dword [esp + 0x1c]
cmp dword [esp + 0x18], 0
je 0x532cce
mov eax, dword [esi + 0x1bf0]
mov ecx, dword [esp + 0x1c]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*2]
cmp dword [edx*8 + 0x6473e0], 0xfffffc19
jne 0x532a17
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x2c]
jl 0x532a0f
mov dword [esp + 0xc4], 0xffffffff
mov esi, dword [esp + 0x24]
test esi, esi
je 0x532d88
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x532d88
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x532d88
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [esi + 0x138]
mov esi, dword [esi + 0x134]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push 0x100
push 0
add edi, ebx
mov dword [esp + 0x34], edi
fild dword [esp + 0x34]
push 0
sub esp, 0x10
fstp dword [esp + 0xc]
add esi, edx
mov edx, dword [eax + 0x74]
mov dword [esp + 0x48], esi
fild dword [esp + 0x48]
fstp dword [esp + 8]
fild dword [ebp + 0x10]
fstp dword [esp + 4]
fild dword [ebp + 0xc]
fstp dword [esp]
call edx
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc