Function at 0x43d100
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x10]
imul edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00480360
add esp, 0xc
mov ecx, dword [ebp + 8]
xor edx, edx
cmp dword [ecx + 0x14], 0
sete dl
movzx eax, dl
test eax, eax
je 0x43d16c
mov dword [ebp - 0xc], 0
push str.GetFileData_failed__strFileName_empty__return_false
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0043f5e0
add esp, 8
jmp 0x43d37f
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18], 0x10
jb 0x43d180
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
jmp 0x43d189
mov edx, dword [ebp + 8]
add edx, 4
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
push eax
push str.GetFileData_filename:_s
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0043f5e0
add esp, 0xc
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18], 0x10
jb 0x43d1b2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
jmp 0x43d1bb
mov edx, dword [ebp + 8]
add edx, 4
mov dword [ebp - 0x28], edx
push 0x4d8950
mov eax, dword [ebp - 0x28]
push eax
call fcn.00480f2b
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x43d339
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00485ae7
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
call fcn.0048940c
add esp, 4
test eax, eax
jne 0x43d2c9
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
call fcn.00485de4
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x10]
jne 0x43d252
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
cmp eax, dword [ebp + 0x14]
jne 0x43d247
mov dword [ebp - 0xc], 1
jmp 0x43d2c9
mov ecx, dword [ebp - 4]
add ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
jmp 0x43d1e9
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x14]
jae 0x43d28d
cmp dword [ebp - 0x10], 0
jbe 0x43d272
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00480360
add esp, 0xc
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
push str.GetFileData_Wrong__iRead_d__iNeedRead_d
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0043f5e0
add esp, 0x10
jmp 0x43d2c9
mov edx, dword [ebp - 8]
push edx
call fcn.0048943b
add esp, 4
test eax, eax
je 0x43d2c4
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
push str.GetFileData_Wrong_lasterorrid_d
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0043f5e0
add esp, 0xc
jmp 0x43d2c9
jmp 0x43d1e9
mov edx, dword [ebp - 8]
push edx
call fcn.00480c29
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x43d2f0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x2c], edx
jmp 0x43d2f9
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
push str.GetFileData_remove_file_filename:_s
mov edx, dword [ebp - 0x20]
push edx
call fcn.0043f5e0
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x43d322
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x30], edx
jmp 0x43d32b
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004893dd
add esp, 4
jmp 0x43d37f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18], 0x10
jb 0x43d356
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
jmp 0x43d35f
mov edx, dword [ebp + 8]
add edx, 4
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push str.open_File:_s_Error_code_:_d
mov edx, dword [ebp - 0x20]
push edx
call fcn.0043f5e0
add esp, 0x10
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x14