Function at 0x555fc0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5abe96
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e50b4]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x50]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x55601c
xor eax, eax
jmp 0x5564fa
push 0
lea ecx, [esp + 0x20]
push ecx
push 4
lea ebp, [esi + 4]
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea edx, [esp + 0x20]
push edx
push 4
lea edi, [esi + 8]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [edi]
imul edi, dword [ebp]
xor ecx, ecx
mov eax, edi
mov edx, 0x2c
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00581ac8
add esp, 4
mov dword [esp + 0x3c], eax
xor ebp, ebp
mov dword [esp + 0x48], ebp
cmp eax, ebp
je 0x556097
push fcn.00553900
push 0x5538d0
push edi
lea ebp, [eax + 4]
push 0x2c
push ebp
mov dword [eax], edi
call fcn.0058428c
cmp dword [esi + 8], 0
mov dword [esp + 0x48], 0xffffffff
mov dword [esi + 0xc], ebp
mov dword [esp + 0x14], 0
jbe 0x556113
xor ebp, ebp
cmp dword [esi + 4], ebp
jbe 0x556105
push 0
lea ecx, [esp + 0x20]
push ecx
push 2
lea edx, [esp + 0x5c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [esi + 4]
imul edi, dword [esp + 0x14]
add edi, ebp
imul edi, edi, 0x2c
add edi, dword [esi + 0xc]
je 0x5560ff
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push ebp
mov ecx, edi
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
push ecx
mov ecx, edi
call edx
mov ax, word [esp + 0x50]
mov word [edi + 0x1c], ax
inc ebp
cmp ebp, dword [esi + 4]
jb 0x5560b7
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esi + 8]
jb 0x5560b0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 8]
mov dword [esi + 0x2c], edx
mov eax, 0xaaaaaaab
mul ecx
mov dword [esi + 0x10], ecx
mov ecx, edx
mov eax, 0xaaaaaaab
mul edi
shr ecx, 1
shr edx, 1
mov dword [esi + 0x1c], edx
imul edx, ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], edi
mov edi, edx
xor ecx, ecx
mov eax, edi
mov edx, 0x2c
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00581ac8
add esp, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], 1
test eax, eax
je 0x55619c
push fcn.00553900
push 0x5538d0
push edi
lea ebx, [eax + 4]
push 0x2c
push ebx
mov dword [eax], edi
call fcn.0058428c
jmp 0x55619e
xor ebx, ebx
cmp dword [esi + 0x1c], 0
mov dword [esp + 0x48], 0xffffffff
mov dword [esi + 0x30], ebx
mov dword [esp + 0x18], 0
jbe 0x5564f5
mov ebx, 2
mov dword [esp + 0x30], ebx
cmp dword [esi + 0x18], 0
mov dword [esp + 0x14], 0
jbe 0x5564dc
mov edi, 2
jmp 0x5561e0
mov eax, dword [esi + 4]
lea ebp, [edi - 2]
cmp ebp, eax
jae 0x556205
lea ecx, [ebx - 2]
cmp ecx, dword [esi + 8]
jae 0x556205
imul ecx, eax
lea ecx, [ecx + edi - 2]
imul ecx, ecx, 0x2c
add ecx, dword [esi + 0xc]
mov dword [esp + 0x34], ecx
jne 0x55620d
mov dword [esp + 0x34], 0
lea ecx, [edi - 1]
cmp ecx, eax
jae 0x556233
lea ecx, [ebx - 2]
cmp ecx, dword [esi + 8]
jae 0x556233
mov edx, dword [esi + 0xc]
imul ecx, eax
add ecx, edi
imul ecx, ecx, 0x2c
lea ecx, [ecx + edx - 0x2c]
mov dword [esp + 0x38], ecx
test ecx, ecx
jne 0x55623b
mov dword [esp + 0x38], 0
cmp edi, eax
jae 0x556258
lea ecx, [ebx - 2]
cmp ecx, dword [esi + 8]
jae 0x556258
imul ecx, eax
add ecx, edi
imul ecx, ecx, 0x2c
add ecx, dword [esi + 0xc]
mov dword [esp + 0x3c], ecx
jne 0x556260
mov dword [esp + 0x3c], 0
cmp ebp, eax
jae 0x55627f
lea edx, [ebx - 1]
cmp edx, dword [esi + 8]
jae 0x55627f
imul edx, eax
lea edx, [edx + edi - 2]
imul edx, edx, 0x2c
add edx, dword [esi + 0xc]
mov dword [esp + 0x20], edx
jne 0x556287
mov dword [esp + 0x20], 0
lea ecx, [edi - 1]
cmp ecx, eax
jae 0x5562ad
lea edx, [ebx - 1]
cmp edx, dword [esi + 8]
jae 0x5562ad
mov ecx, dword [esi + 0xc]
imul edx, eax
add edx, edi
imul edx, edx, 0x2c
lea edx, [edx + ecx - 0x2c]
mov dword [esp + 0x24], edx
test edx, edx
jne 0x5562b5
mov dword [esp + 0x24], 0
cmp edi, eax
jae 0x5562d2
lea edx, [ebx - 1]
cmp edx, dword [esi + 8]
jae 0x5562d2
imul edx, eax
add edx, edi
imul edx, edx, 0x2c
add edx, dword [esi + 0xc]
mov dword [esp + 0x28], edx
jne 0x5562da
mov dword [esp + 0x28], 0
cmp ebp, eax
jae 0x5562f8
cmp ebx, dword [esi + 8]
jae 0x5562f8
mov edx, eax
imul edx, ebx
lea edx, [edx + edi - 2]
imul edx, edx, 0x2c
add edx, dword [esi + 0xc]
mov dword [esp + 0x2c], edx
jne 0x556300
mov dword [esp + 0x2c], 0
lea ecx, [edi - 1]
cmp ecx, eax
jae 0x556325
cmp ebx, dword [esi + 8]
jae 0x556325
mov edx, dword [esi + 0xc]
mov ecx, eax
imul ecx, ebx
add ecx, edi
imul ecx, ecx, 0x2c
lea edx, [ecx + edx - 0x2c]
test edx, edx
je 0x556325
mov ebp, edx
jmp 0x556327
xor ebp, ebp
cmp edi, eax
jae 0x556341
cmp ebx, dword [esi + 8]
jae 0x556341
imul eax, ebx
add eax, edi
imul eax, eax, 0x2c
add eax, dword [esi + 0xc]
je 0x556341
mov ebx, eax
jmp 0x556343
xor ebx, ebx
mov edx, dword [esp + 0x34]
test edx, edx
je 0x5564c3
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5564c3
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x5564c3
cmp dword [esp + 0x20], 0
je 0x5564c3
cmp dword [esp + 0x24], 0
je 0x5564c3
cmp dword [esp + 0x28], 0
je 0x5564c3
cmp dword [esp + 0x2c], 0
je 0x5564c3
test ebp, ebp
je 0x5564c3
test ebx, ebx
je 0x5564c3
cmp byte [edx + 0x1c], 1
je 0x556474
cmp byte [edx + 0x1d], 0
jne 0x556474
cmp byte [eax + 0x1c], 1
je 0x556474
cmp byte [eax + 0x1d], 0
jne 0x556474
call fcn.0054fcf0
test eax, eax
jne 0x556474
mov ecx, dword [esp + 0x20]
call fcn.0054fcf0
test eax, eax
jne 0x556474
mov ecx, dword [esp + 0x24]
call fcn.0054fcf0
test eax, eax
jne 0x556474
mov ecx, dword [esp + 0x28]
call fcn.0054fcf0
test eax, eax
jne 0x556474
mov ecx, dword [esp + 0x2c]
call fcn.0054fcf0
test eax, eax
jne 0x556474
mov ecx, ebp
call fcn.0054fcf0
test eax, eax
jne 0x556474
mov ecx, ebx
call fcn.0054fcf0
test eax, eax
jne 0x556474
mov eax, dword [esi + 0x18]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
imul eax, ebp
mov ecx, dword [esi + 0x30]
add eax, ebx
imul eax, eax, 0x2c
xor edx, edx
mov word [eax + ecx + 0x1c], dx
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x30]
imul eax, ebp
add eax, ebx
imul eax, eax, 0x2c
mov edx, dword [ecx + eax]
add ecx, eax
mov eax, dword [edx + 0x10]
push ebx
call eax
mov ecx, dword [esi + 0x18]
imul ecx, ebp
add ecx, ebx
imul ecx, ecx, 0x2c
add ecx, dword [esi + 0x30]
push ebp
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
jmp 0x5564c7
mov eax, dword [esi + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
imul eax, ebx
mov ecx, dword [esi + 0x30]
add eax, ebp
imul eax, eax, 0x2c
mov edx, 1
mov word [eax + ecx + 0x1c], dx
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x30]
imul eax, ebx
add eax, ebp
imul eax, eax, 0x2c
mov edx, dword [ecx + eax]
add ecx, eax
mov eax, dword [edx + 0x10]
push ebp
call eax
mov ecx, dword [esi + 0x18]
imul ecx, ebx
add ecx, ebp
imul ecx, ecx, 0x2c
add ecx, dword [esi + 0x30]
push ebx
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
mov ebx, dword [esp + 0x14]
inc ebx
add edi, 3
cmp ebx, dword [esi + 0x18]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x30]
jb 0x5561e0
mov eax, dword [esp + 0x18]
inc eax
add ebx, 3
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], ebx
cmp eax, dword [esi + 0x1c]
jb 0x5561c4
mov eax, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 4