Function at 0x1501f620
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1503fb85
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x15049cf8]
xor eax, esp
mov dword [esp + 0x330], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x15049cf8]
xor eax, esp
push eax
lea eax, [esp + 0x348]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x358]
mov esi, dword [esp + 0x364]
mov edi, dword [esp + 0x35c]
xor ebx, ebx
cmp ebp, ebx
mov dword [esi], ebx
jne 0x1501faf2
mov eax, dword [esp + 0x360]
push eax
push 0x104
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x40]
mov ebx, edi
call fcn.1501f490
test eax, eax
je case.default.0x1501f6ed
xor ebx, ebx
push ebx
push 0x307
push str..SFile2.cpp
push 0x60
call sym.Storm.dll_Ordinal_401
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x350], ebx
je 0x1501f6d5
push ebp
mov ecx, eax
call fcn.1501e010
jmp 0x1501f6d7
xor eax, eax
cmp ebp, 4
mov dword [esp + 0x350], 0xffffffff
mov dword [esi], eax
ja case.default.0x1501f6ed
jmp dword [ebp*4 + 0x1501fce8]
lea ecx, [esp + 0x38]
push 0x15043920
push ecx
call dword [sym.imp.MSVCR80.dll_fopen]
mov edx, dword [esi]
mov dword [edx + 4], eax
mov edi, dword [esi]
add esp, 8
cmp dword [edi + 4], ebx
je 0x1501f984
push 0x310
push str..SFile2.cpp
lea eax, [esp + 0x40]
push eax
call sym.Storm.dll_Ordinal_507
mov ecx, dword [esi]
mov dword [ecx + 0xc], eax
mov eax, 2
jmp 0x1501fcbe
lea edx, [esp + 0x38]
push 0x15043920
push edx
call dword [sym.imp.MSVCR80.dll_fopen]
mov ecx, dword [esi]
mov dword [ecx + 4], eax
mov ebp, dword [esi]
add esp, 8
cmp dword [ebp + 4], ebx
jne 0x1501f77b
cmp ebp, ebx
je 0x1501f772
mov ecx, ebp
call fcn.1501db00
push ebx
push 0xffffffffffffffff
push 0x15041b7c
push ebp
call sym.Storm.dll_Ordinal_403
mov dword [esi], ebx
xor eax, eax
jmp 0x1501fcbe
push 0x31b
push str..SFile2.cpp
lea edx, [esp + 0x40]
push edx
call sym.Storm.dll_Ordinal_507
mov ecx, dword [esi]
push 0x31c
push str..SFile2.cpp
push edi
mov dword [ecx + 0xc], eax
call sym.Storm.dll_Ordinal_507
mov edx, dword [esi]
mov dword [edx + 0x10], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
mov dl, 0x2e
call sym.Storm.dll_Ordinal_570
mov edi, eax
cmp edi, ebx
je 0x1501f7d1
push 0x7fffffff
push 0x150438b4
push edi
call sym.Storm.dll_Ordinal_509
test eax, eax
jne 0x1501f7d1
mov byte [edi], bl
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push edx
push 0x18
lea eax, [esp + 0x28]
push 1
push eax
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x10
mov eax, 4
mov ecx, str.BZ00
lea edx, [esp + 0x24]
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x1501f80f
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x1501f7f7
cmp eax, ebx
je 0x1501f86c
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x1501f85e
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x1501f86c
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x1501f85e
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x1501f86c
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x1501f85e
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x1501f86c
movzx edi, byte [edx]
movzx ecx, byte [ecx]
sub edi, ecx
je 0x1501f86c
cmp edi, ebx
mov eax, 1
jg 0x1501f86e
or eax, 0xffffffff
jmp 0x1501f86e
xor eax, eax
cmp eax, ebx
jne 0x1501f982
mov edx, dword [esi]
mov eax, dword [esp + 0x20]
mov dword [edx + 0x14], eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x28]
add eax, 0x44
mov dword [eax], ecx
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x34]
mov dword [eax + 0xc], edx
mov eax, dword [esi]
push ebx
push 0x32d
mov dword [eax + 0x54], 1
mov ecx, dword [esi]
push str..SFile2.cpp
push 0x1000
mov dword [ecx + 0x20], ebx
call sym.Storm.dll_Ordinal_401
mov edx, dword [esi]
push ebx
push 0x32f
push str..SFile2.cpp
push 0x38
mov dword [edx + 0x18], eax
call sym.Storm.dll_Ordinal_401
mov ecx, dword [esi]
mov dword [ecx + 0x1c], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov dword [eax + 4], ebx
mov ecx, dword [esi]
mov edx, dword [ecx + 0x1c]
mov dword [edx + 0x20], ebx
mov eax, dword [esi]
mov ecx, dword [eax + 0x1c]
mov dword [ecx + 0x24], ebx
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov dword [eax + 0x28], ebx
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x1c]
push 0x38
mov edx, str.1.1.3
call fcn.1503ba30
mov eax, 3
jmp 0x1501fcbe
push ebx
push 0x33e
push str..SFile2.cpp
push 8
call sym.Storm.dll_Ordinal_401
mov edx, dword [esi]
mov dword [edx + 8], eax
mov eax, dword [esi]
mov ecx, dword [eax + 8]
add ecx, 4
push ecx
push ebx
push ebx
lea edx, [esp + 0x44]
push edx
call sym.Storm.dll_Ordinal_266
test eax, eax
je 0x1501f982
mov dl, 0x5c
mov ecx, edi
call sym.Storm.dll_Ordinal_570
cmp eax, ebx
jne 0x1501f959
lea eax, [edi - 1]
mov ecx, dword [esi]
lea edx, [ecx + 0x3c]
push edx
push ebx
add eax, 1
push eax
mov eax, dword [ecx + 8]
mov ecx, dword [eax + 4]
push ecx
call sym.Storm.dll_Ordinal_268
test eax, eax
jne 0x1501f9a6
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
push ecx
call sym.Storm.dll_Ordinal_252
mov edi, dword [esi]
cmp edi, ebx
je 0x1501f99d
mov ecx, edi
call fcn.1501db00
push ebx
push 0xffffffffffffffff
push 0x15041b7c
push edi
call sym.Storm.dll_Ordinal_403
mov dword [esi], ebx
xor eax, eax
jmp 0x1501fcbe
push 0x350
push str..SFile2.cpp
push edi
call sym.Storm.dll_Ordinal_507
test dword [esp + 0x360], 0x10000
mov edx, dword [esi]
mov dword [edx + 0xc], eax
je 0x1501fa14
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x44]
push ecx
push edx
call fcn.15018ad0
test eax, eax
je 0x1501fa0f
mov edi, dword [esi]
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 0x44]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.1501dfe0
test al, al
jne 0x1501fa0f
mov dword [edi + 0x54], 1
mov eax, 1
jmp 0x1501fcbe
mov ecx, dword [esi]
mov dword [ecx + 0x54], ebx
mov eax, 1
jmp 0x1501fcbe
mov ebp, dword [esp + 0x360]
add eax, 0x3c
push eax
push ebp
push edi
push ebx
call sym.Storm.dll_Ordinal_268
test eax, eax
je 0x1501f982
push 0x364
push str..SFile2.cpp
push edi
call sym.Storm.dll_Ordinal_507
test ebp, 0x10000
jmp 0x1501f9c1
xor edx, edx
mov ecx, edi
call fcn.15037f70
mov edx, dword [esi]
mov dword [edx + 0x40], eax
mov ebp, dword [esi]
cmp dword [ebp + 0x40], ebx
je 0x1501f759
push 0x37a
push str..SFile2.cpp
push edi
call sym.Storm.dll_Ordinal_507
test dword [esp + 0x360], 0x10000
mov ecx, dword [esi]
mov dword [ecx + 0xc], eax
je 0x1501fae8
push 0x7fffffff
push edi
lea edx, [esp + 0x144]
push edx
call sym.Storm.dll_Ordinal_501
push 0x7fffffff
push str..md5
lea eax, [esp + 0x144]
push eax
call sym.Storm.dll_Ordinal_503
xor edx, edx
lea ecx, [esp + 0x13c]
call fcn.15037f70
mov edi, eax
cmp edi, ebx
je 0x1501fae8
push ebx
mov edx, dword [esi]
push 0x10
add edx, 0x44
mov ecx, edi
call fcn.15037c40
mov ecx, dword [esi]
mov dword [ecx + 0x54], eax
mov ecx, edi
call fcn.15037b00
mov eax, 4
jmp 0x1501fcbe
mov eax, dword [ebp]
sub eax, ebx
je 0x1501fbf7
sub eax, 1
jne case.default.0x1501f6ed
push ebx
push 0x3a4
push str..SFile2.cpp
push 0x60
call sym.Storm.dll_Ordinal_401
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x350], 2
je 0x1501fb3a
push 4
mov ecx, eax
call fcn.1501e010
jmp 0x1501fb3c
xor eax, eax
mov dword [esi], eax
mov edx, dword [ebp + 4]
mov ecx, edi
mov dword [esp + 0x350], 0xffffffff
call fcn.15037f70
mov edx, dword [esi]
mov dword [edx + 0x40], eax
mov ebx, dword [esi]
cmp dword [ebx + 0x40], 0
jne 0x1501fb87
test ebx, ebx
je 0x1501fb7a
mov ecx, ebx
call fcn.1501db00
push 0
push 0xffffffffffffffff
push 0x15041b7c
push ebx
call sym.Storm.dll_Ordinal_403
mov dword [esi], 0
xor eax, eax
jmp 0x1501fcbe
push 0x3ab
push str..SFile2.cpp
push edi
call sym.Storm.dll_Ordinal_507
test dword [esp + 0x360], 0x10000
mov ecx, dword [esi]
mov dword [ecx + 0xc], eax
je 0x1501fae8
push 0x7fffffff
push edi
lea edx, [esp + 0x248]
push edx
call sym.Storm.dll_Ordinal_501
push 0x7fffffff
push str..md5
lea eax, [esp + 0x248]
push eax
call sym.Storm.dll_Ordinal_503
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x240]
call fcn.15037f70
mov edi, eax
test edi, edi
je 0x1501fae8
push 0
jmp 0x1501face
mov eax, dword [ebp + 4]
lea edx, [esp + 0x14]
push edx
push ebx
push edi
push eax
call sym.Storm.dll_Ordinal_268
test eax, eax
je case.default.0x1501f6ed
push ebx
push 0x396
push str..SFile2.cpp
push 0x60
call sym.Storm.dll_Ordinal_401
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
cmp eax, ebx
mov ebp, 1
mov dword [esp + 0x350], ebp
je 0x1501fc44
push 3
mov ecx, eax
call fcn.1501e010
jmp 0x1501fc46
xor eax, eax
mov ecx, dword [esp + 0x14]
push 0x398
push str..SFile2.cpp
mov dword [esi], eax
push edi
mov dword [esp + 0x35c], 0xffffffff
mov dword [eax + 0x3c], ecx
call sym.Storm.dll_Ordinal_507
test dword [esp + 0x360], 0x10000
mov edx, dword [esi]
mov dword [edx + 0xc], eax
je 0x1501fcbc
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x44]
push ecx
push edx
call fcn.15018ad0
test eax, eax
je 0x1501fcb7
mov edi, dword [esi]
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 0x44]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.1501dfe0
test al, al
jne 0x1501fcb7
mov dword [edi + 0x54], ebp
jmp 0x1501fcbc
mov ecx, dword [esi]
mov dword [ecx + 0x54], ebx
mov eax, ebp
mov ecx, dword [esp + 0x348]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.1503831e
add esp, 0x340
ret 0x10