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

Disassembly:
push 0xffffffffffffffff
push 0x77ff82
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x1cc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x38], esi
mov edi, dword [esp + 0x1dc]
push edi
call fcn.005dc960
test byte [esi + 0x970], 4
je 0x5de960
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x2c]
push eax
push edi
mov ecx, esi
call fcn.00526e00
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
add ecx, ecx
add eax, eax
add edx, edx
add edx, edx
add ecx, ecx
add eax, eax
add edi, edi
add edi, edi
mov dword [esp + 0x24], ecx
sub ecx, edx
mov dword [esp + 0x1c], eax
sub eax, edi
mov dword [esp + 0x20], edx
lea ebx, [ecx + 1]
lea edx, [eax + 1]
imul eax, ecx
imul edx, ebx
mov dword [esp + 0x2c], edi
lea edi, [esi + 0x194]
push eax
mov ecx, edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edx
call fcn.00411ff0
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
add ecx, ecx
add ecx, ecx
push ecx
xor ebx, ebx
push ebx
push edx
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x28], ebx
mov ebp, eax
jge 0x5de960
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
cmp edi, eax
jge 0x5de277
jmp 0x5de230
cmp dword [esi + 0x824], 0
mov ecx, esi
je 0x5de244
push ebp
push edi
call fcn.005dcf90
jmp 0x5de24f
push 0xffffffffffffffff
push 1
push ebp
push edi
call fcn.005dda40
cmp eax, 0xffffffff
je 0x5de25c
mov dword [esp + 0x28], 1
mov ecx, dword [esi + 0x19c]
mov dword [ecx + ebx*4], eax
mov eax, dword [esp + 0x24]
add edi, 1
add ebx, 1
cmp edi, eax
jl 0x5de230
mov edi, dword [esp + 0x20]
add ebp, 1
cmp ebp, dword [esp + 0x1c]
jl 0x5de222
cmp dword [esp + 0x28], 0
je 0x5de960
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
push 0x14
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1d8], ebx
call fcn.005dca30
mov ecx, eax
mov esi, 0x14
xor edx, edx
mov eax, esi
div ecx
cmp edx, ebx
je 0x5de2c6
sub ecx, edx
add ecx, esi
mov esi, ecx
push esi
lea ecx, [esp + 0x4c]
call fcn.005dca90
mov edi, dword [esp + 0x50]
sub edi, 0x7dbb90
mov dword [esp + 0x4c], 0x14
xor esi, esi
mov edx, dword [esi + 0x7dbb90]
mov ecx, dword [esi + 0x7dbb40]
call fcn.004bf4b0
mov dword [edi + esi + 0x7dbb90], eax
add esi, 4
cmp esi, 0x50
jl 0x5de2e4
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1d8], 3
call fcn.0046f520
push esi
lea ecx, [esp + 0x80]
call fcn.0046f520
push esi
lea ecx, [esp + 0x70]
call fcn.0046f720
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jg 0x5de4f4
fld qword [0x7bad28]
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
cmp ebp, eax
jg 0x5de4dd
mov edx, dword [esp + 0x18]
and edx, reloc.ijl15.dll_Ordinal_3
jns 0x5de3a3
dec edx
or edx, 0xfffffffc
inc edx
mov ecx, dword [esp + 0x60]
lea eax, [ebx + ebx*2]
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
lea esi, [ecx + eax*4]
mov eax, dword [esp + 0x84]
sub eax, ecx
fstp dword [esp + 0x3c]
mov dword [esp + 0x34], eax
jmp 0x5de3d0
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x6c]
push edx
push eax
push ebp
mov ecx, edi
call fcn.005dc870
mov eax, dword [edi + 0xb4]
mov edx, dword [edi + 0xe4]
add eax, 1
imul eax, dword [esp + 0x28]
add eax, dword [esp + 0x68]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + ecx*4]
lea edi, [edx + ecx*4]
shr eax, 9
and eax, 0x7fc000
or eax, 0x47800000
mov ecx, ebp
and ecx, reloc.ijl15.dll_Ordinal_3
mov dword [esp + 0x14], eax
jns 0x5de432
dec ecx
or ecx, 0xfffffffc
inc ecx
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
fld dword [0x83e69c]
push 7
fld st(0)
push esi
fmulp st(2)
fld dword [esp + 0x1c]
fsub st(3)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
faddp st(2)
fxch st(1)
fstp dword [esi]
mov edx, dword [edi]
and edx, 0x7fc000
or edx, 0x47800000
mov dword [esp + 0x1c], edx
fld dword [esp + 0x1c]
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x44]
fmulp st(1)
fadd dword [esp + 0x1c]
fstp dword [esi + 4]
call fcn.0057dda0
fadd qword [0x79e5a8]
mov ecx, dword [esp + 0x34]
lea eax, [edi + 0x10]
add ecx, esi
fstp dword [esi + 8]
mov edx, dword [eax]
fldz
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x74]
fst dword [eax + ebx*8]
add ebp, 1
fstp dword [eax + ebx*8 + 4]
mov eax, dword [esp + 0x24]
fld qword [0x7bad28]
add ebx, 1
add esi, 0xc
cmp ebp, eax
jle 0x5de3d0
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
add ecx, 1
cmp ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
jle 0x5de38a
fstp st(0)
push 0x410660
push 0x412310
push 0x14
push 0x10
lea ecx, [esp + 0x9c]
push ecx
call fcn.00736657
mov esi, dword [esp + 0x2c]
xor edi, edi
cmp esi, dword [esp + 0x1c]
mov byte [esp + 0x1d4], 4
mov dword [esp + 0x18], esi
jge 0x5de871
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ebx, 0x80
cmp ecx, eax
mov dword [esp + 0x28], ecx
jge 0x5de85c
jmp 0x5de550
mov edx, dword [esp + 0x38]
mov edx, dword [edx + 0x19c]
mov edx, dword [edx + edi*4]
add edi, 1
cmp edx, 0xffffffff
mov dword [esp + 0x14], edi
je 0x5de849
mov eax, dword [esp + 0x28]
sub eax, ecx
mov ecx, dword [esp + 0x18]
sub ecx, esi
mov edi, ecx
imul edi, dword [esp + 0x44]
lea ebp, [ecx + 1]
imul ebp, dword [esp + 0x44]
add edi, eax
lea esi, [edi + 1]
shl edx, 4
mov ecx, dword [esp + edx + 0x90]
mov dword [esp + 0x30], esi
lea esi, [esp + edx + 0x8c]
add ebp, eax
add ecx, 1
cmp ecx, dword [esi]
lea eax, [ebp + 1]
mov dword [esp + 0x3c], eax
jbe 0x5de616
mov ebx, dword [esi + 0xc]
test ebx, ebx
jne 0x5de5f1
cmp ecx, 0x80
mov ebx, ecx
jae 0x5de5e5
lea eax, [ecx - 1]
and eax, ecx
je 0x5de5d9
lea ebx, [ebx]
mov ebx, eax
lea eax, [ebx - 1]
and eax, ebx
jne 0x5de5d0
cmp ebx, 1
jae 0x5de5f1
mov ebx, 1
jmp 0x5de5f1
mov dword [esi + 0xc], 0x80
mov ebx, 0x80
xor edx, edx
mov eax, ecx
div ebx
mov dword [esp + 0x34], ecx
test edx, edx
je 0x5de605
sub ebx, edx
add ebx, ecx
jmp 0x5de609
mov ebx, dword [esp + 0x34]
push ebx
mov ecx, esi
call fcn.0040de50
mov ebx, 0x80
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
lea ecx, [ecx + eax*2]
add eax, 1
mov dword [esi + 4], eax
mov word [ecx], di
mov ecx, dword [esi + 4]
add ecx, 1
cmp ecx, dword [esi]
jbe 0x5de67d
mov edi, dword [esi + 0xc]
test edi, edi
jne 0x5de660
cmp ecx, ebx
mov edi, ecx
jae 0x5de65b
lea eax, [ecx - 1]
and eax, ecx
je 0x5de64f
mov edi, eax
lea eax, [edi - 1]
and eax, edi
jne 0x5de646
cmp edi, 1
jae 0x5de660
mov edi, 1
jmp 0x5de660
mov dword [esi + 0xc], ebx
mov edi, ebx
xor edx, edx
mov eax, ecx
div edi
test edx, edx
je 0x5de670
sub edi, edx
add edi, ecx
mov ecx, edi
push ecx
mov ecx, esi
call fcn.0040de50
mov ebx, 0x80
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
lea ecx, [edx + eax*2]
add eax, 1
mov dword [esi + 4], eax
mov ax, word [esp + 0x30]
mov word [ecx], ax
mov ecx, dword [esi + 4]
add ecx, 1
cmp ecx, dword [esi]
jbe 0x5de6e9
mov edi, dword [esi + 0xc]
test edi, edi
jne 0x5de6cc
cmp ecx, ebx
mov edi, ecx
jae 0x5de6c7
lea eax, [ecx - 1]
and eax, ecx
je 0x5de6bb
mov edi, eax
lea eax, [edi - 1]
and eax, edi
jne 0x5de6b2
cmp edi, 1
jae 0x5de6cc
mov edi, 1
jmp 0x5de6cc
mov dword [esi + 0xc], ebx
mov edi, ebx
xor edx, edx
mov eax, ecx
div edi
test edx, edx
je 0x5de6dc
sub edi, edx
add edi, ecx
mov ecx, edi
push ecx
mov ecx, esi
call fcn.0040de50
mov ebx, 0x80
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
lea ecx, [ecx + eax*2]
add eax, 1
mov dword [esi + 4], eax
mov word [ecx], bp
mov ecx, dword [esi + 4]
add ecx, 1
cmp ecx, dword [esi]
jbe 0x5de757
mov edi, dword [esi + 0xc]
test edi, edi
jne 0x5de73a
cmp ecx, ebx
mov edi, ecx
jae 0x5de735
lea eax, [ecx - 1]
and eax, ecx
je 0x5de729
lea esp, [esp]
mov edi, eax
lea eax, [edi - 1]
and eax, edi
jne 0x5de720
cmp edi, 1
jae 0x5de73a
mov edi, 1
jmp 0x5de73a
mov dword [esi + 0xc], ebx
mov edi, ebx
xor edx, edx
mov eax, ecx
div edi
test edx, edx
je 0x5de74a
sub edi, edx
add edi, ecx
mov ecx, edi
push ecx
mov ecx, esi
call fcn.0040de50
mov ebx, 0x80
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
lea ecx, [edx + eax*2]
add eax, 1
mov dword [esi + 4], eax
mov word [ecx], bp
mov ecx, dword [esi + 4]
add ecx, 1
cmp ecx, dword [esi]
jbe 0x5de7b9
mov edi, dword [esi + 0xc]
test edi, edi
jne 0x5de7a1
cmp ecx, ebx
mov edi, ecx
jae 0x5de79c
lea eax, [ecx - 1]
and eax, ecx
je 0x5de790
mov edi, eax
lea eax, [edi - 1]
and eax, edi
jne 0x5de787
cmp edi, 1
jae 0x5de7a1
mov edi, 1
jmp 0x5de7a1
mov dword [esi + 0xc], ebx
mov edi, ebx
xor edx, edx
mov eax, ecx
div edi
test edx, edx
je 0x5de7b1
sub edi, edx
add edi, ecx
mov ecx, edi
push ecx
mov ecx, esi
call fcn.0040de50
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dx, word [esp + 0x30]
lea ecx, [ecx + eax*2]
add eax, 1
mov dword [esi + 4], eax
mov word [ecx], dx
mov ecx, dword [esi + 4]
add ecx, 1
cmp ecx, dword [esi]
jbe 0x5de822
mov edi, dword [esi + 0xc]
test edi, edi
jne 0x5de80a
cmp ecx, ebx
mov edi, ecx
jae 0x5de805
lea eax, [ecx - 1]
and eax, ecx
je 0x5de7f9
mov edi, edi
mov edi, eax
lea eax, [edi - 1]
and eax, edi
jne 0x5de7f0
cmp edi, 1
jae 0x5de80a
mov edi, 1
jmp 0x5de80a
mov dword [esi + 0xc], ebx
mov edi, ebx
xor edx, edx
mov eax, ecx
div edi
test edx, edx
je 0x5de81a
sub edi, edx
add edi, ecx
mov ecx, edi
push ecx
mov ecx, esi
call fcn.0040de50
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dx, word [esp + 0x3c]
mov edi, dword [esp + 0x14]
lea ecx, [ecx + eax*2]
add eax, 1
mov dword [esi + 4], eax
mov word [ecx], dx
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
add edx, 1
cmp edx, eax
mov dword [esp + 0x28], edx
jl 0x5de550
mov edx, dword [esp + 0x18]
add edx, 1
cmp edx, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
jl 0x5de538
mov edx, 0x14
mov ecx, str.PathModel
call fcn.00704e80
mov ecx, dword [esp + 0x1dc]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x84]
mov dword [ecx + 0x64], eax
xor edi, edi
lea esi, [esp + 0x90]
mov edi, edi
cmp dword [esi], 0
jbe 0x5de8e3
mov edx, dword [esp + 0x50]
push 0
push ecx
mov eax, esp
mov dword [esp + 0x3c], esp
push 9
push 2
mov dword [eax], 0xffffffff
mov edx, dword [edx + edi*4]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x1f8]
mov ecx, dword [ecx + 0x64]
push 3
push ebx
push ebp
push eax
call fcn.00706880
add edi, 1
add esi, 0x10
cmp edi, 0x14
jl 0x5de8a0
push 0x410660
push 0x14
push 0x10
lea edx, [esp + 0x98]
push edx
mov byte [esp + 0x1e4], 3
call fcn.007365f4
test ebx, ebx
je 0x5de91f
push 0
push 0xfffffffffffffffe
push str.._AVC2Vector_NTempest__
push ebx
call sub.Storm.dll_Ordinal_403
test ebp, ebp
je 0x5de932
push 0
push 0xfffffffffffffffe
push str.._AVC3Vector_NTempest__
push ebp
call sub.Storm.dll_Ordinal_403
mov eax, dword [esp + 0x60]
test eax, eax
je 0x5de949
push 0
push 0xfffffffffffffffe
push str.._AVC3Vector_NTempest__
push eax
call sub.Storm.dll_Ordinal_403
mov eax, dword [esp + 0x50]
test eax, eax
je 0x5de960
push 0
push 0xfffffffffffffffe
push str..PAUHTEXTURE____
push eax
call sub.Storm.dll_Ordinal_403
mov ecx, dword [esp + 0x1cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c4
ret 4