Function at 0x23a752d0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x23bd2de0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x7c]
xor ebp, ebp
push ebp
push 0x80
push 3
push ebp
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, 0xffffffff
je 0x23a755fd
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
lea ecx, [esp + 0x80]
push ecx
push 6
lea edx, [esp + 0x3c]
push edx
push esi
mov dword [esp + 0x90], ebp
call ebx
test eax, eax
je 0x23a755f6
cmp dword [esp + 0x7c], 6
jne 0x23a755f6
cmp word [esp + 0x32], 1
jne 0x23a755f6
mov ax, word [esp + 0x34]
cmp ax, bp
je 0x23a755f6
movzx eax, ax
shl eax, 4
push eax
call fcn.23a4ae6a
mov edi, eax
add esp, 4
mov dword [esp + 0x2c], edi
cmp edi, ebp
je 0x23a755f6
movzx edx, word [esp + 0x34]
push ebp
lea ecx, [esp + 0x80]
push ecx
shl edx, 4
push edx
push edi
push esi
call ebx
test eax, eax
je 0x23a755ed
movzx eax, word [esp + 0x34]
mov ecx, eax
shl ecx, 4
cmp dword [esp + 0x7c], ecx
jne 0x23a755ed
cmp eax, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebp
jle 0x23a755d7
add edi, 8
mov dword [esp + 0x20], edi
lea ebx, [ebx]
movzx ebp, byte [edi - 7]
movzx ebx, byte [edi - 8]
lea ecx, [esp + 0x48]
call fcn.23a70590
push ebp
push ebx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x7c], 0
call fcn.23a3b477
test eax, eax
jne 0x23a7541f
xor ecx, ecx
push ecx
push eax
lea ecx, [esp + 0x8c]
call fcn.23a3b477
test eax, eax
je 0x23a75432
mov edx, dword [edi + 4]
push 0
push 0
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
jne 0x23a75448
lea ecx, [esp + 0x48]
mov dword [esp + 0x74], 0xffffffff
call fcn.23a72860
jmp 0x23a755b6
mov eax, dword [edi]
push eax
call fcn.23a4ae6a
mov esi, eax
add esp, 4
test esi, esi
je 0x23a755a1
mov eax, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x84], 0
mov edx, dword [edi]
push edx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x23a75598
mov eax, dword [edi]
cmp dword [esp + 0x7c], eax
jne 0x23a75598
cmp word [esi + 0xe], 0x20
jne 0x23a75534
lea ecx, [esp + 0x38]
call fcn.23a382f6
push 0
mov byte [esp + 0x78], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x3c]
call fcn.23a388fa
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
cdq
sub eax, edx
sar eax, 1
imul ecx, eax
push 0
push 0
lea edx, [esp + 0x20]
push edx
push 0
mov dword [esi + 8], eax
mov eax, dword [esp + 0x4c]
add ecx, ecx
push esi
add ecx, ecx
push eax
mov dword [esi + 0x14], ecx
mov dword [esp + 0x30], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov edi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x23a75520
test edi, edi
je 0x23a75520
mov ecx, dword [esi + 0x14]
push ecx
lea edx, [esi + 0x28]
push edx
push eax
call fcn.23a6ef60
add esp, 0xc
push edi
lea ecx, [esp + 0x4c]
call fcn.23a72820
lea ecx, [esp + 0x38]
mov byte [esp + 0x74], 0
call fcn.23a38979
mov edi, dword [esp + 0x20]
jmp 0x23a75551
push 0
push ebp
push ebx
push 0x30000
push 1
push eax
push esi
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
push eax
lea ecx, [esp + 0x4c]
call fcn.23a727e0
lea ecx, [esp + 0x48]
call fcn.23a705a0
test eax, eax
jne 0x23a75586
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x80]
push eax
push ebp
push ebx
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x58]
push edx
call fcn.23a74980
mov dword [esp + 0x24], 1
push esi
call fcn.23a4accd
mov esi, dword [esp + 0x18]
add esp, 4
jmp 0x23a75432
push esi
call fcn.23a4accd
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x74], 0xffffffff
call fcn.23a72860
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
movzx ecx, word [esp + 0x34]
inc eax
add edi, 0x10
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
jl 0x23a753e0
mov edi, dword [esp + 0x2c]
push edi
call fcn.23a4accd
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x24]
jmp 0x23a755ff
push edi
call fcn.23a4accd
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x14