Function at 0x423926
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x43f1d2
call fcn.004311b8
sub esp, 0xb4
mov al, byte [ebp + 0xc]
and byte [ebp + 0xf], 0
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov byte [esi + 0x2e8], al
cmp dword [esi + 0x2a0], edi
je 0x4239e1
lea eax, [ebp - 0x15]
push 1
push eax
lea ecx, [ebp - 0x54]
push dword [ebp + 8]
call fcn.004014ff
lea eax, [ebp - 0x54]
push 1
push eax
lea eax, [ebp - 0xc0]
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00423e5a
mov ebx, eax
lea eax, [esi + 4]
push 1
push eax
lea eax, [ebp - 0x98]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00423e5a
push ebx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00410f05
mov ebx, eax
lea ecx, [ebp - 0x98]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 1
inc bl
call fcn.0040191f
and byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.0040191f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0040191f
test bl, bl
je 0x4239e1
mov byte [ebp + 0xf], 1
lea eax, [ebp + 0xb]
push 1
push eax
lea ecx, [ebp - 0x54]
push dword [ebp + 8]
call fcn.004014ff
lea ebx, [esi + 4]
lea eax, [ebp - 0x54]
push eax
mov ecx, ebx
mov dword [ebp - 4], 3
call fcn.0040b989
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0040191f
mov ecx, ebx
call fcn.004016f0
push eax
call fcn.00429f89
test eax, eax
je 0x423c5a
push edi
push edi
push 3
push edi
push 1
push SysReAllocStringLen
mov ecx, ebx
call fcn.004016f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
push edi
push ebx
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
je 0x423c4a
push eax
call fcn.004311d7
lea ecx, [esi + 0x2c0]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 5
mov dword [esp], 0x44dbd4
call fcn.004016c7
and byte [esi + 0x15c], 0
and byte [esi + 0x15e], 0
and byte [esi + 0x15d], 0
lea ecx, [esi + 0x164]
mov byte [esi + 0x160], 1
call fcn.00427fbe
mov eax, dword [0x440640]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x198]
cmp eax, edi
je 0x423ace
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call ebx
mov dword [esi + 0x198], edi
jmp 0x423ad4
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x14]
lea ecx, [esi + 0x180]
push edi
call fcn.0040c665
mov eax, dword [0x440640]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x1c0]
cmp eax, edi
je 0x423afe
push eax
call ebx
mov dword [esi + 0x1c0], edi
push dword [ebp - 0x14]
lea ecx, [esi + 0x1a8]
push edi
call fcn.0040c665
cmp byte [ebp + 0xf], 0
jne 0x423b67
mov eax, dword [0x440640]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x1e8]
cmp eax, edi
je 0x423b2e
push eax
call ebx
mov dword [esi + 0x1e8], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x1d0]
push edi
call fcn.0040c665
mov eax, dword [0x440640]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x210]
cmp eax, edi
je 0x423b58
push eax
call ebx
mov dword [esi + 0x210], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x1f8]
push edi
call fcn.0040c665
mov eax, dword [0x440640]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x238]
cmp eax, edi
je 0x423b82
push eax
call ebx
mov dword [esi + 0x238], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x220]
push edi
call fcn.0040c665
mov eax, dword [0x440640]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x260]
cmp eax, edi
je 0x423bac
push eax
call ebx
mov dword [esi + 0x260], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x248]
push edi
call fcn.0040c665
mov eax, dword [0x440640]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x2b0]
cmp eax, edi
je 0x423bd6
push eax
call ebx
mov dword [esi + 0x2b0], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x298]
push edi
call fcn.0040c665
lea ecx, [esi + 0x170]
call fcn.00428056
lea eax, [ebp - 0x2c]
push edi
push eax
push dword [ebp - 0x20]
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 1
lea ecx, [ebp - 0x70]
push dword [ebp + 8]
mov dword [ebp - 0x24], esi
call fcn.0041d67f
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.0041da35
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.00407def
mov ecx, esi
call fcn.004249aa
jmp 0x423c3e
push dword [ebp + 8]
call fcn.004091ee
mov ebx, dword [ebp - 0x1c]
pop ecx
cmp ebx, edi
je 0x423c5a
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x423c5a
push ebx
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8