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

Disassembly:
push 0xffffffffffffffff
push 0x77a4e9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
xor ebp, ebp
cmp dword [edi + 0x148], ebp
jne 0x5465fb
push ebp
push 0xa7b
push 0x7bc360
push 0xac
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
cmp eax, ebp
mov dword [esp + 0x38], ebp
je 0x5465de
mov ecx, dword [esp + 0x40]
mov edx, dword [edi + 0x18]
push ecx
push edx
mov ecx, eax
call fcn.005f05f0
jmp 0x5465e0
xor eax, eax
push edi
push 0x546500
mov ecx, eax
mov dword [esp + 0x40], 0xffffffff
mov dword [edi + 0x148], eax
call fcn.004df0b0
xor ecx, ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ecx
mov eax, dword [edi + 0x150]
cmp eax, ebp
mov dword [esp + 0x38], 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], ebp
jle 0x546772
jmp 0x546636
mov ecx, dword [esp + 0x2c]
xor ebp, ebp
mov esi, dword [esp + 0x24]
fldz
mov eax, dword [edi + 0x154]
mov edx, dword [esp + 0x40]
mov ebx, dword [eax + edx*4]
add esi, 1
cmp esi, dword [esp + 0x20]
jbe 0x5466a4
cmp ecx, ebp
fstp st(0)
jne 0x546688
cmp esi, 8
mov ecx, esi
jae 0x54667b
lea eax, [esi - 1]
and eax, esi
je 0x54666f
mov ecx, eax
lea eax, [ecx - 1]
and eax, ecx
jne 0x546666
cmp ecx, 1
jae 0x546688
mov ecx, 1
jmp 0x546688
mov dword [esp + 0x2c], 8
mov ecx, 8
xor edx, edx
mov eax, esi
div ecx
cmp edx, ebp
je 0x546698
sub ecx, edx
add ecx, esi
mov esi, ecx
push esi
lea ecx, [esp + 0x24]
call fcn.00546130
fldz
mov ecx, dword [esp + 0x24]
mov eax, ecx
imul eax, eax, 0xac
add eax, dword [esp + 0x28]
add ecx, 1
cmp eax, ebp
mov dword [esp + 0x24], ecx
je 0x546717
mov dword [eax + 0x24], ebp
mov dword [eax + 0x28], ebp
mov dword [eax + 0x2c], ebp
mov dword [eax + 0x30], ebp
mov dword [eax + 0x3c], ebp
mov dword [eax + 0x40], ebp
mov dword [eax + 0x44], ebp
mov dword [eax + 0x48], ebp
mov dword [eax + 0x4c], ebp
mov dword [eax + 0x50], ebp
mov dword [eax + 0x54], ebp
mov dword [eax + 0x58], ebp
mov dword [eax + 0x6c], ebp
mov dword [eax + 0x70], ebp
mov dword [eax + 0x74], ebp
mov dword [eax + 0x78], ebp
fst dword [eax + 0x8c]
fst dword [eax + 0x90]
mov ebp, eax
fst dword [eax + 0x94]
fst dword [eax + 0x9c]
fst dword [eax + 0xa0]
fstp dword [eax + 0xa4]
jmp 0x546719
fstp st(0)
mov eax, dword [edi + 0x60]
imul ebx, ebx, 0x188
lea ecx, [ebx + eax + 0xbc]
push ecx
mov ecx, ebp
call fcn.00524ec0
mov edx, dword [edi + 0x60]
mov eax, dword [esp + 0x14]
lea esi, [ebx + edx + 4]
lea edi, [ebp + 0x84]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x60]
mov eax, dword [esp + 0x40]
mov edx, dword [ebx + ecx + 0x158]
mov edi, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [ebp + 0xa8], edx
mov dword [esp + 0x40], eax
jl 0x546630
mov ecx, dword [edi + 0x148]
lea eax, [esp + 0x20]
push eax
call fcn.005f07d0
mov ecx, dword [edi + 0x148]
mov ecx, dword [ecx + 4]
call fcn.0040e790
mov edi, dword [edi + 0x148]
mov ecx, dword [edi + 4]
push 1
call fcn.0040a9d0
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
lea ecx, [esp + 0x20]
call fcn.00546040
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4