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

Disassembly:
push 0xffffffffffffffff
push 0x783289
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0xa8], 0
jne 0x616a5a
mov edi, dword [ebx + 0x74]
or ebp, 0xffffffff
xor esi, esi
test edi, edi
mov dword [ebx + 0xdc], ebp
jle 0x6169f4
jmp 0x6169d0
mov eax, dword [ebx + 0x78]
mov ecx, dword [eax + esi*4]
mov ecx, dword [ecx + 4]
lea eax, [eax + esi*4]
call fcn.0040e7b0
test eax, eax
jne 0x6169ee
add esi, 1
cmp esi, edi
jl 0x6169d0
jmp 0x6169f4
mov dword [ebx + 0xdc], esi
push 0
push 0x220
push 0x7e084c
push 0xa0
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x44], 0
je 0x616a30
mov edx, dword [esp + 0x4c]
mov ecx, dword [ebx + 0x18]
push edx
push ecx
mov ecx, eax
call fcn.006142b0
jmp 0x616a32
xor eax, eax
push ebx
push 0x616900
mov ecx, eax
mov dword [esp + 0x4c], ebp
mov dword [ebx + 0xa8], eax
call fcn.004df0b0
mov ecx, dword [ebx + 0xa8]
push ebx
push 0x6161f0
call fcn.004df0d0
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov eax, dword [ebx + 0xb0]
xor ebp, ebp
cmp eax, ecx
mov dword [esp + 0x44], 1
mov dword [esp + 0x4c], eax
jle 0x616bc3
jmp 0x616a94
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
fldz
mov edx, dword [ebx + 0xb4]
mov edi, dword [edx + ebp*4]
add esi, 1
cmp esi, dword [esp + 0x1c]
jbe 0x616afe
test ecx, ecx
fstp st(0)
jne 0x616ae2
cmp esi, 8
mov ecx, esi
jae 0x616ad5
lea eax, [esi - 1]
and eax, esi
je 0x616ac9
mov ecx, eax
lea eax, [ecx - 1]
and eax, ecx
jne 0x616ac0
cmp ecx, 1
jae 0x616ae2
mov ecx, 1
jmp 0x616ae2
mov dword [esp + 0x28], 8
mov ecx, 8
xor edx, edx
mov eax, esi
div ecx
test edx, edx
je 0x616af2
sub ecx, edx
add ecx, esi
mov esi, ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00616220
fldz
mov eax, dword [esp + 0x20]
mov esi, eax
imul esi, esi, 0xfc
add esi, dword [esp + 0x24]
add eax, 1
test esi, esi
mov dword [esp + 0x20], eax
je 0x616b30
fst dword [esi]
fst dword [esi + 4]
fst dword [esi + 8]
fstp dword [esi + 0xc]
mov dword [esi + 0xf8], 0
jmp 0x616b34
fstp st(0)
xor esi, esi
mov eax, dword [ebx + 0x64]
add edi, edi
add edi, edi
mov ecx, dword [eax + edi]
push Ordinal_2
add ecx, 4
push ecx
lea edx, [esi + 0x14]
push edx
call sub.Storm.dll_Ordinal_501
mov eax, dword [ebx + 0x64]
lea ecx, [esp + 0x2c]
add eax, edi
push ecx
mov ecx, dword [eax]
call fcn.0059f3d0
mov edx, dword [eax]
mov dword [esi], edx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx + edi]
mov eax, dword [edx + 0xdc]
mov dword [esi + 0x10], eax
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx + edi]
push Ordinal_2
add edx, 0xe8
push edx
lea eax, [esi + 0x94]
push eax
call sub.Storm.dll_Ordinal_501
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx + edi]
mov eax, dword [edx + 0x14c]
add ebp, 1
cmp ebp, dword [esp + 0x4c]
mov dword [esi + 0xf8], eax
jl 0x616a90
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebx + 0xa8]
call fcn.006148e0
mov edx, dword [ebx + 0xa8]
mov ecx, dword [edx + 4]
call fcn.0040e790
mov ebx, dword [ebx + 0xa8]
mov ecx, dword [ebx + 4]
push 1
call fcn.0040a9d0
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
mov ecx, ebx
call edx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x616c11
push 0
push 0xfffffffffffffffe
push str.._AURegionProps__
push eax
call sub.Storm.dll_Ordinal_403
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4