Function at 0x43de9f
Capabilities:
Extract resource via kernel32 functions
Get file size
Read file on windows

Disassembly:
push 0x2c8
mov eax, 0x467f43
call fcn.00452dde
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp eax, ebx
jne 0x43e078
call fcn.004247fa
push eax
lea ecx, [ebp - 0x94]
call fcn.0042405a
mov dword [ebp - 4], ebx
call fcn.00424800
mov ecx, eax
call fcn.00423dad
test al, al
je 0x43df86
push dword [ebp + 8]
lea ecx, [ebp - 0x94]
call fcn.00423e46
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x94]
call fcn.00423c2c
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2c8], eax
cmp eax, 0xffffffff
jne 0x43df32
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00423c82
jmp 0x43e0fa
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x43df1e
push esi
mov dword [ebp - 0x2d4], ebx
call fcn.0044f9de
pop ecx
push ebx
mov edi, eax
lea eax, [ebp - 0x2d4]
push eax
push esi
push edi
push dword [ebp - 0x2c8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2c8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2d4], esi
je 0x43e067
push edi
call fcn.004515e9
pop ecx
jmp 0x43df1e
call fcn.00424800
push eax
lea ecx, [ebp - 0x94]
call fcn.00423e29
call fcn.00424806
test al, al
je 0x43dfa7
call fcn.0042480c
jmp 0x43dfbe
push 2
push ebx
lea ecx, [ebp - 0x94]
call fcn.00423c2c
push eax
call fcn.0043c5e4
add esp, 0xc
mov dword [ebp - 0x2c8], eax
cmp eax, ebx
je 0x43df1e
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d0]
push eax
push 1
push dword [ebp + 8]
push dword [ebp - 0x2c8]
call fcn.0043acfc
add esp, 0x14
test eax, eax
jne 0x43df1e
mov esi, dword [ebp - 0x98]
cmp esi, ebx
je 0x43df1e
push esi
call fcn.0044f9de
push 3
push esi
mov edi, eax
push edi
push dword [ebp - 0x2d0]
push dword [ebp - 0x2c8]
call fcn.0043c642
add esp, 0x18
cmp eax, ebx
je 0x43e052
cmp eax, 0x600
je 0x43e052
push edi
call fcn.004515e9
pop ecx
call fcn.00424806
test al, al
jne 0x43df1e
push dword [ebp - 0x2c8]
call fcn.0043c67a
jmp 0x43df83
call fcn.00424806
test al, al
jne 0x43e067
push dword [ebp - 0x2c8]
call fcn.0043c67a
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00423c82
jmp 0x43e0f2
push eax
push dword [ebp + 8]
call fcn.004247eb
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [ebp - 0x2cc], esi
cmp esi, ebx
je 0x43e0fa
push esi
call fcn.004247eb
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x2d0], eax
push esi
cmp eax, ebx
jne 0x43e0b4
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x43e0fa
call fcn.004247eb
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp esi, ebx
je 0x43e0fa
push esi
call fcn.0044f9de
pop ecx
push esi
push dword [ebp - 0x2d0]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push edi
call fcn.0044fac0
add esp, 0xc
push dword [ebp - 0x2cc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp edi, ebx
jne 0x43e17e
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2c8], eax
cmp eax, 0xffffffff
je 0x43e239
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x43e239
push esi
mov dword [ebp - 0x2cc], ebx
call fcn.0044f9de
pop ecx
push ebx
mov edi, eax
lea eax, [ebp - 0x2cc]
push eax
push esi
push edi
push dword [ebp - 0x2c8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2c8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2cc], esi
je 0x43e176
push edi
call fcn.004515e9
pop ecx
xor edi, edi
cmp edi, ebx
je 0x43e239
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_SHCreateMemStream]
mov esi, eax
mov dword [ebp - 0x2c8], esi
cmp esi, ebx
je 0x43e198
mov eax, dword [esi]
push esi
call dword [eax + 4]
push edi
mov dword [ebp - 4], 1
call fcn.004515e9
push ebx
push esi
call fcn.0043d300
mov edi, eax
add esp, 0xc
mov ecx, edi
call fcn.0043d321
test eax, eax
je 0x43e22b
mov ecx, edi
call fcn.0043d345
test eax, eax
je 0x43e22b
push 0x98
call fcn.004503dc
mov esi, eax
pop ecx
mov dword [ebp - 0x2d0], esi
mov byte [ebp - 4], 2
cmp esi, ebx
je 0x43e1ec
lea ecx, [esi + 0x10]
call fcn.00423c5a
jmp 0x43e1ee
xor esi, esi
mov ecx, edi
mov dword [esi], edi
call fcn.0043d321
mov ecx, edi
mov dword [esi + 4], eax
call fcn.0043d345
mov ecx, edi
mov dword [esi + 8], eax
call fcn.0043d369
or dword [ebp - 4], 0xffffffff
shr eax, 0x12
and al, 1
mov byte [esi + 0xc], al
mov eax, dword [ebp - 0x2c8]
cmp eax, ebx
je 0x43e227
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x43e23b
or dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x43e239
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor eax, eax
call fcn.00452e28
ret