Function at 0x43a346
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x10074]
mov eax, 0x10074
call fcn.0044b870
push 0xffffffffffffffff
push 0x4642cf
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x47dad4]
xor eax, ebp
mov dword [ebp + 0x10070], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1007c]
mov edi, dword [ebp + 0x10080]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x20]
push eax
push edi
mov dword [ebp - 4], ebx
call fcn.0041aac2
pop ecx
pop ecx
push ebx
push 0x80
push 3
push ebx
xor esi, esi
inc esi
push esi
push SysReAllocStringLen
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
jne 0x43a469
lea eax, [ebp - 0x40]
push eax
call fcn.0041d98e
mov dword [ebp - 0x18], eax
push edi
lea eax, [ebp - 0x78]
push str.Error_opening
push eax
mov byte [ebp - 4], 1
call fcn.00408aa3
push 0x46773c
push eax
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 2
call fcn.00408aee
push dword [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00408b35
add esp, 0x28
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x47c7f0
mov byte [ebp - 4], 4
call fcn.00408577
push ebx
push esi
lea ecx, [ebp - 0x5c]
call fcn.00407efb
push ebx
push esi
lea ecx, [ebp - 0x94]
call fcn.00407efb
push ebx
push esi
lea ecx, [ebp - 0x78]
call fcn.00407efb
push ebx
push esi
lea ecx, [ebp - 0x40]
call fcn.00407efb
mov ecx, dword [ebp - 0x14]
call fcn.004081f5
jmp 0x43a556
lea eax, [ebp]
push eax
call fcn.0043a869
pop ecx
mov byte [ebp - 0xd], bl
push ebx
lea eax, [ebp - 0x24]
push eax
push 0xffff
lea eax, [ebp + 0x5c]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x43a4be
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 0xd], 1
call fcn.0041d98e
pop ecx
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x47c7f0
mov byte [ebp - 4], 5
call fcn.00408577
push ebx
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00407efb
push dword [ebp - 0x24]
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp]
push eax
call fcn.0043b94a
add esp, 0xc
cmp byte [ebp - 0xd], bl
jne 0x43a4db
cmp dword [ebp - 0x24], ebx
ja 0x43a476
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x1005c]
push eax
call fcn.0043b94f
pop ecx
pop ecx
cmp byte [ebp - 0xd], bl
jne 0x43a45c
xor esi, esi
mov dl, byte [ebp + esi + 0x1005c]
mov al, dl
and al, 0xf0
cmp al, 0xa0
movzx eax, dl
mov ecx, eax
jae 0x43a51d
shr ecx, 4
add ecx, 0x30
jmp 0x43a523
shr ecx, 4
add ecx, 0x57
and dl, 0xf
and eax, 0xf
mov byte [ebp + esi*2 + 0x5c], cl
cmp dl, 0xa
jae 0x43a537
add eax, 0x30
jmp 0x43a53a
add eax, 0x57
mov byte [ebp + esi*2 + 0x5d], al
inc esi
cmp esi, 0x14
jl 0x43a501
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0x5c]
push eax
mov byte [ebp + 0x84], bl
call fcn.004088e0
lea ecx, [ebp - 0x20]
call fcn.00406ffd
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x10070]
xor ecx, ebp
call fcn.0044a6c9
add ebp, 0x10074
leave
ret