Function at 0x553d00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ec72
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], ebx
cmp eax, 0xffffffff
mov dword [ebp - 4], ebx
je 0x553fdd
mov eax, dword [0x6f7b78]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
jmp 0x553d4d
xor ebx, ebx
push 0x6fc418
lea ecx, [ebp - 0x14]
call fcn.00622f13
mov eax, dword [esi + 0x408]
cmp eax, 0x3fe
jne 0x553da3
lea edx, [esi + 8]
mov ecx, 0x100
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x30]
push ebx
push eax
push 0x3ff
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x553ef9
cmp dword [ebp - 0x30], ebx
jbe 0x553ef9
mov dword [esi + 0x408], ebx
jmp 0x553daa
inc eax
mov dword [esi + 0x408], eax
mov edx, dword [esi + 0x408]
mov al, byte [esi + edx + 8]
mov byte [ebp - 0x24], al
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
call fcn.006230b3
push 0x6c9154
lea ecx, [ebp - 0x14]
call fcn.0061f75b
cmp eax, 0xffffffff
jg 0x553e28
push 0x6c9178
lea ecx, [ebp - 0x14]
call fcn.0061f75b
cmp eax, 0xffffffff
jg 0x553e28
push 0x6c916c
lea ecx, [ebp - 0x14]
call fcn.0061f75b
cmp eax, 0xffffffff
jg 0x553e28
push 0x6c915c
lea ecx, [ebp - 0x14]
call fcn.0061f75b
cmp eax, 0xffffffff
jg 0x553e28
mov edx, dword [ebp - 0x14]
cmp dword [edx - 8], 0x64
jle 0x553d5a
push 0x5a
push ebx
lea ecx, [ebp - 0x14]
call fcn.0061f46f
jmp 0x553d5a
cmp eax, ebx
jle 0x553e42
mov ecx, dword [ebp - 0x14]
push eax
push ebx
mov dl, byte [eax + ecx - 1]
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x15], dl
call fcn.0061f46f
jmp 0x553e54
push eax
push ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x15], 0
call fcn.0061f46f
jmp 0x553e54
xor ebx, ebx
mov eax, dword [esi + 0x408]
cmp eax, 0x3fe
jne 0x553e95
lea edx, [esi + 8]
mov ecx, 0x100
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x28]
push ebx
push eax
push 0x3ff
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x553ef9
cmp dword [ebp - 0x28], ebx
jbe 0x553ef9
mov dword [esi + 0x408], ebx
jmp 0x553e9c
inc eax
mov dword [esi + 0x408], eax
mov edx, dword [esi + 0x408]
lea ecx, [ebp - 0x14]
mov bl, byte [esi + edx + 8]
mov byte [ebp - 0x24], bl
mov eax, dword [ebp - 0x24]
push eax
call fcn.006230b3
cmp byte [ebp - 0x15], 0x27
jne 0x553ed1
push str._r_n_t
lea ecx, [ebp - 0x14]
call fcn.006231b2
mov edi, eax
cmp edi, 0xffffffff
jg 0x553f26
jmp 0x553ee5
push str._r_n__t
lea ecx, [ebp - 0x14]
call fcn.006231b2
mov edi, eax
cmp edi, 0xffffffff
jg 0x553f26
test bl, bl
je 0x553f41
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 8], 0x7d0
jle 0x553e52
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00622d8a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00622d8a
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test bl, bl
je 0x553f41
lea edx, [ebp - 0x2c]
push edi
push edx
lea ecx, [ebp - 0x14]
call fcn.0061f6e3
or dword [ebp - 0x1c], 1
mov byte [ebp - 4], 3
jmp 0x553f44
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
call fcn.00622ec3
mov al, byte [ebp - 0x1c]
mov dword [ebp - 4], 2
test al, 1
je 0x553f6b
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
and al, 0xfe
mov dword [ebp - 0x1c], eax
call fcn.00622d8a
push 0
mov eax, dword [ebp - 0x20]
push 0
push 0
mov ecx, dword [ebp + 8]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x6fc418
push eax
call fcn.00496d20
test bl, bl
je 0x553d4b
inc edi
lea ecx, [ebp - 0x14]
push edi
push 0
call fcn.0061f46f
jmp 0x553d4b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4