Function at 0x43c9c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457070
push 0x44bffc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x34], 0xffffffff
xor esi, esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], esi
push esi
push 0x10000082
push 3
push esi
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x34], edi
cmp edi, 0xffffffff
jne 0x43ca2b
push esi
push esi
push 1
push 0xefffffff
call dword [sym.imp.KERNEL32.dll_RaiseException]
push esi
lea ecx, [ebp - 0x24]
push ecx
push 6
lea edx, [ebp - 0x20]
push edx
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
call ebx
cmp word [ebp - 0x20], 0x180
je 0x43ca56
push esi
push esi
push 1
push 0xefffffff
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [ebp - 0x1e]
push eax
call fcn.0044c0d4
add esp, 4
mov esi, eax
mov dword [ebp - 0x30], esi
push 0
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x1e]
push edx
push esi
push edi
call ebx
test eax, eax
je 0x43ca81
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x1e]
je 0x43ca96
push 0
push 0
push 1
push 0xefffffff
mov ebx, dword [sym.imp.KERNEL32.dll_RaiseException]
call ebx
jmp 0x43ca9c
mov ebx, dword [sym.imp.KERNEL32.dll_RaiseException]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1e]
mov byte [ecx + esi - 1], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, dword [ebp - 0x1e]
add edx, 0xfffffffe
cmp ecx, edx
jae 0x43cad9
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x1e]
dec ecx
cmp eax, ecx
jge 0x43cad9
cmp byte [eax + esi], 0
jne 0x43cad6
mov byte [eax + esi], 0x20
inc eax
jmp 0x43cac1
push 0x461000
push esi
call fcn.0044c6c0
add esp, 8
test eax, eax
jne 0x43caf6
push eax
push eax
push 1
push 0xefffffff
call ebx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0044c0d4
add esp, 4
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x43cb14
push eax
push eax
push 1
push 0xefffffff
call ebx
push 0x460ff4
push esi
call fcn.0044c6c0
add esp, 8
mov ebx, eax
mov dword [ebp - 0x44], ebx
test ebx, ebx
jne 0x43cb30
mov dword [ebp - 0x48], eax
jmp 0x43cb97
mov edi, 0x460ff4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ebx, ecx
mov dword [ebp - 0x44], ebx
push 0x460fe8
push ebx
call fcn.0044c6c0
add esp, 8
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x43cb5e
mov dword [ebp - 0x48], eax
jmp 0x43cb97
sub eax, ebx
inc eax
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp esi, 1
jae 0x43cb6f
xor eax, eax
jmp 0x43cb91
mov eax, dword [ebp + 0x10]
dec eax
cmp esi, eax
jbe 0x43cb7c
mov esi, eax
mov dword [ebp - 0x3c], esi
push esi
push ebx
mov edi, dword [ebp - 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov byte [esi + edi], 0
mov eax, 1
mov dword [ebp - 0x48], eax
mov esi, dword [ebp - 0x30]
test eax, eax
jne 0x43cc2d
push 0x460fdc
push esi
call fcn.0044c6c0
add esp, 8
mov ebx, eax
mov dword [ebp - 0x54], ebx
test ebx, ebx
je 0x43cc14
mov edi, 0x460fdc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ebx, ecx
mov dword [ebp - 0x54], ebx
push 0x460fd0
push ebx
call fcn.0044c6c0
add esp, 8
mov dword [ebp - 0x50], eax
test eax, eax
je 0x43cc14
sub eax, ebx
inc eax
mov esi, eax
mov dword [ebp - 0x4c], esi
cmp esi, 1
jae 0x43cbf0
xor eax, eax
jmp 0x43cc14
mov ecx, dword [ebp + 0x10]
lea eax, [ecx - 1]
cmp esi, eax
jbe 0x43cbff
mov esi, eax
mov dword [ebp - 0x4c], esi
push esi
push ebx
mov edi, dword [ebp - 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov byte [esi + edi], 0
mov eax, 1
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x43cc2a
push eax
push eax
push 1
push 0xefffffff
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x43cc4a
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x43cc4a
dec eax
push eax
mov edx, dword [ebp - 0x28]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x43cc4d
mov edi, dword [ebp - 0x28]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
inc edi
mov dword [ebp - 0x2c], edi
test esi, esi
je 0x43cc6a
push esi
call fcn.0044c186
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x43cc7a
push eax
call fcn.0044c186
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc