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

Disassembly:
push 0xffffffffffffffff
push 0x779988
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov ebp, ecx
xor ebx, ebx
cmp dword [0x8613bc], ebx
je 0x532ffd
mov esi, dword [esp + 0x8c]
mov eax, dword [esi + 0x84]
test eax, 0x800
jne 0x532ffd
mov edi, dword [esp + 0x90]
cmp edi, ebx
je 0x532d6d
cmp dword [ebp + 0xfc], ebx
jne 0x532d6d
test eax, 0x400
jne 0x532ffd
cmp dword [esi + 0xa0], ebx
jle 0x532ffd
mov eax, dword [ebp]
mov edx, dword [eax + 0x128]
push esi
call edx
test eax, eax
je 0x532ffd
mov ecx, dword [esi + 0x84]
mov eax, ecx
shr eax, 0xd
and eax, 1
cmp eax, edi
je 0x532ffd
cmp edi, ebx
je 0x532daf
or ecx, 0x2000
jmp 0x532db5
and ecx, 0xffffdfff
mov dword [esi + 0x84], ecx
mov eax, dword [ebp]
mov edx, dword [eax + 0x1d0]
push esi
mov ecx, ebp
mov dword [esp + 0x18], 4
call edx
test eax, eax
je 0x532ddd
mov dword [esp + 0x14], 2
test dword [esi + 0x84], 0x400
je 0x532df1
mov dword [esp + 0x14], 8
mov eax, dword [ebp]
mov edx, dword [eax + 0x1d4]
push esi
mov ecx, ebp
call edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
lea eax, [esp + 0x5c]
push eax
push esi
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebp
mov dword [esp + 0x90], ebx
call fcn.00532ab0
push esi
lea edx, [esp + 0x70]
push edx
mov ecx, ebp
call fcn.0052eab0
mov edi, dword [esp + 0x58]
sub edi, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
xor ecx, ecx
cmp edi, ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], ecx
jle 0x532fe7
mov edx, dword [esp + 0x64]
mov dword [esp + 0x2c], edx
cmp eax, ebx
mov dword [esp + 0x20], ebx
jle 0x532fd3
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
add eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
mov eax, dword [ebp + 0xe0]
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0xbc]
jae 0x532fa4
cmp esi, dword [eax + 0xc0]
jae 0x532fa4
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x30]
call fcn.005dc940
mov ebx, eax
test ebx, ebx
je 0x532fa4
mov eax, dword [esp + 0x90]
xor edi, edi
test eax, eax
je 0x532f0c
cmp dword [esp + 0x14], 8
mov edi, ebx
jne 0x532f0c
mov ecx, dword [esp + 0x8c]
cmp dword [ecx + 0x17c], 0
jbe 0x532f0c
mov edx, dword [ecx + 0x180]
add edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
cmp byte [edx + ecx], 0
je 0x532f0c
or edi, 0x80
cmp dword [esp + 0x34], 0
je 0x532f30
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0xe0]
push eax
push 0x40
push 2
push esi
push edx
call fcn.005dd8c0
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x14]
cmp ecx, 8
jne 0x532f4e
mov eax, dword [esp + 0x18]
push edi
push ecx
mov ecx, dword [ebp + 0xe0]
push esi
push eax
call fcn.005dce90
jmp 0x532f62
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x24]
push esi
push ecx
mov ecx, dword [ebp + 0xe0]
call fcn.005dd8c0
fldz
mov ecx, dword [ebp + 0xe0]
fstp dword [esp + 0x48]
push 0x20
fild dword [esp + 0x20]
lea edx, [esp + 0x44]
fld dword [0x83d05c]
push edx
fld st(0)
fmulp st(2)
fld dword [esp + 0x78]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x48]
fimul dword [esp + 0x28]
fadd dword [esp + 0x74]
fstp dword [esp + 0x4c]
call fcn.00528f80
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
add dword [esp + 0x24], edi
lea eax, [edi*4]
add dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
add ecx, 1
add esi, 1
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x532e8d
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
add dword [esp + 0x2c], 4
add ecx, 1
cmp ecx, edi
mov dword [esp + 0x1c], ecx
jl 0x532e67
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x532ffd
push ebx
push 0xfffffffffffffffe
push str.._AVCImVector_NTempest__
push eax
call sub.Storm.dll_Ordinal_403
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 8