Function at 0x43bf20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff992
mov eax, dword fs:[0]
push eax
sub esp, 0xa30
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 2
mov byte [ebp - 4], 3
wait
push 0x468ad0
call fcn.004dbbc8
add esp, 4
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x934]
call fcn.00401880
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x980]
call fcn.0043b1e0
mov byte [ebp - 4], 5
mov byte [ebp - 0x935], 1
push 0x800
push 0
lea ecx, [ebp - 0x918]
push ecx
call fcn.004dba80
add esp, 0xc
push 0
push 0
push 3
push 0
push 1
push closesocket
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x950], esi
cmp esi, 0xffffffff
jne 0x43c0eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0xffffffffffffffff
push 6
push 3
call fcn.0041f480
mov ecx, eax
call fcn.00420010
push 1
lea ecx, [ebp - 0xa3c]
call fcn.0041f520
mov byte [ebp - 4], 6
mov byte [ebp - 4], 7
wait
push esi
push str._._The_error_code_is
mov eax, dword [ebp + 8]
push eax
push str.Could_not_open_file
lea ecx, [ebp - 0xa3c]
push ecx
call fcn.0041e560
add esp, 8
push eax
call fcn.0041e560
add esp, 8
push eax
call fcn.0041e560
add esp, 8
mov ecx, eax
call fcn.004365a0
lea edx, [ebp - 0xa3c]
push edx
call fcn.0041f480
mov ecx, eax
call fcn.0041cfb0
wait
mov dword [ebp - 4], 6
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa3c]
call fcn.0041dc00
mov byte [ebp - 0x935], 0
lea ecx, [ebp - 0x980]
call fcn.0043a370
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x980]
call fcn.0043b080
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x934]
call fcn.004018f0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00416630
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00416630
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00423740
mov al, byte [ebp - 0x935]
wait
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004db901
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x93e], 1
push 0
lea eax, [ebp - 0x98c]
push eax
push 0x7ff
lea ecx, [ebp - 0x918]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne al
test al, al
je 0x43c3b5
lea edx, [ebp - 0x918]
push edx
lea ecx, [ebp - 0x93c]
call fcn.0041ad50
mov byte [ebp - 4], 9
mov eax, dword [0x570024]
mov dword [ebp - 0x944], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [0x570024]
mov dword [ebp - 0x948], ecx
mov bl, 0xb
mov byte [ebp - 4], bl
xor edi, edi
mov byte [ebp - 0x93d], 0
lea ecx, [ebp - 0x93c]
call fcn.00418070
lea ecx, [ebp - 0x93c]
call fcn.00431570
push 0x5422ee
lea edx, [ebp - 0x93c]
push edx
call fcn.0042f870
test al, al
je 0x43c380
cmp byte [ebp - 0x93d], 0
jne 0x43c380
push 0x517388
lea ecx, [ebp - 0x93c]
call fcn.00424960
mov esi, eax
cmp esi, 0xffffffff
je 0x43c379
push esi
push edi
lea eax, [ebp - 0x970]
push eax
lea ecx, [ebp - 0x93c]
call fcn.004249b0
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x944]
call fcn.0041e3d0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x970]
call fcn.00416630
inc esi
push esi
lea ecx, [ebp - 0x96c]
push ecx
lea ecx, [ebp - 0x93c]
call fcn.004321f0
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x93c]
call fcn.0041e3d0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x96c]
call fcn.00416630
push 0x5422ec
lea ecx, [ebp - 0x93c]
call fcn.00424960
mov esi, eax
cmp esi, 0xffffffff
je 0x43c292
push esi
push edi
lea edx, [ebp - 0x964]
push edx
lea ecx, [ebp - 0x93c]
call fcn.004249b0
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x948]
call fcn.0041e3d0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x964]
call fcn.00416630
inc esi
push esi
lea eax, [ebp - 0x95c]
push eax
lea ecx, [ebp - 0x93c]
call fcn.004321f0
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x93c]
call fcn.0041e3d0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x95c]
call fcn.00416630
jmp 0x43c2ca
push edi
lea ecx, [ebp - 0x960]
push ecx
lea ecx, [ebp - 0x93c]
call fcn.004321f0
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x948]
call fcn.0041e3d0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x960]
call fcn.00416630
mov byte [ebp - 0x93d], 1
lea ecx, [ebp - 0x944]
call fcn.00418070
lea ecx, [ebp - 0x944]
call fcn.00431570
lea ecx, [ebp - 0x948]
call fcn.00418070
lea ecx, [ebp - 0x948]
call fcn.00431570
lea ecx, [ebp - 0x93c]
call fcn.00418070
lea ecx, [ebp - 0x93c]
call fcn.00431570
push 0
mov edx, dword [ebp - 0x948]
push edx
call fcn.004df75e
add esp, 8
call fcn.004de0d0
mov dword [ebp - 0x94c], eax
lea eax, [ebp - 0x94c]
push eax
lea ecx, [ebp - 0x944]
push ecx
lea ecx, [ebp - 0x994]
call fcn.004373a0
mov byte [ebp - 4], 0x11
push 0
push eax
lea ecx, [ebp - 0x980]
call fcn.0043ab10
push eax
lea edx, [ebp - 0x99c]
push edx
lea ecx, [ebp - 0x980]
call fcn.004374c0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x994]
call fcn.004313b0
jmp 0x43c170
mov byte [ebp - 0x93e], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x948]
call fcn.00416630
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x944]
call fcn.00416630
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x93c]
call fcn.00416630
mov esi, dword [ebp - 0x950]
jmp 0x43c3bc
mov byte [ebp - 0x935], 0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x93e], 0
je 0x43c064
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x954], ebx
cmp ebx, dword [ebp + 0x14]
je 0x43c06b
push 0x104
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.004dba80
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x118]
push edx
call fcn.004dce29
add esp, 0x18
push ebx
lea ecx, [ebp - 0x944]
call fcn.0041ea10
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x944]
push eax
lea ecx, [ebp - 0x950]
push ecx
lea ecx, [ebp - 0x980]
call fcn.0042a570
or esi, 0xffffffff
mov dword [ebp - 0x958], esi
mov eax, dword [ebp - 0x950]
cmp eax, dword [ebp - 0x97c]
je 0x43c456
mov esi, dword [eax + 0x10]
mov dword [ebp - 0x958], esi
mov eax, dword [ebx]
push eax
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
test eax, eax
setne al
test al, al
je 0x43c5a0
push 0
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.004df60e
add esp, 0xc
mov dword [ebp - 0x94c], eax
cmp eax, 0xffffffff
je 0x43c5a0
push eax
call fcn.004df518
add esp, 4
mov edi, eax
mov dword [ebp - 0x984], edi
cmp edi, esi
je 0x43c57a
push 0xffffffffffffffff
push 6
push 3
call fcn.0041f480
mov ecx, eax
call fcn.00420010
push 1
lea ecx, [ebp - 0xa3c]
call fcn.0041f520
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x14
wait
push str._bytes.
push edi
push str.bytes_but_this_files_is_of_size
push esi
push str.__the_expected_size_was
lea ecx, [ebp - 0x118]
push ecx
push str.File_size_test_failed_for
lea edx, [ebp - 0xa3c]
push edx
call fcn.0041e560
add esp, 8
push eax
call fcn.0041e560
add esp, 8
push eax
call fcn.0041e560
add esp, 8
mov ecx, eax
call fcn.004365a0
push eax
call fcn.0041e560
add esp, 8
mov ecx, eax
call fcn.004365a0
push eax
call fcn.0041e560
add esp, 8
lea eax, [ebp - 0xa3c]
push eax
call fcn.0041f480
mov ecx, eax
call fcn.0041cfb0
wait
mov dword [ebp - 4], 0x13
jmp 0x43c564
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xa3c]
call fcn.0041dc00
mov byte [ebp - 0x935], 0
mov ecx, dword [ebp - 0x94c]
push ecx
call fcn.004df454
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x944]
call fcn.00416630
add ebx, 4
jmp 0x43c3d3
mov byte [ebp - 0x935], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x944]
call fcn.00416630
add ebx, 4
jmp 0x43c3d3