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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546c96
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x595534]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
test edi, edi
jne 0x43f153
call fcn.0042f380
push eax
lea ecx, [ebp - 0xc0]
call fcn.00429450
mov dword [ebp - 4], edi
call fcn.0042f390
mov ecx, eax
call fcn.0042a030
test al, al
je 0x43ef9c
push dword [ebp + 8]
lea ecx, [ebp - 0xc0]
call fcn.00429810
push edi
push 0x80
push 3
push edi
push 1
push bind
lea ecx, [ebp - 0xc0]
call fcn.00429da0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43ef0e
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], eax
call fcn.004295e0
jmp 0x43f1cb
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push ebx
call edi
mov esi, eax
mov dword [ebp - 0x40c], eax
test esi, esi
jne 0x43ef3c
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 0xffffffff
call fcn.004295e0
jmp 0x43f1d1
push esi
mov dword [ebp - 0x418], 0
call fcn.0050000c
add esp, 4
mov edi, eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x410], edi
push 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x418], esi
je 0x43f13f
push edi
call fcn.004ffccb
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.004295e0
jmp 0x43f1cb
call fcn.0042f390
push eax
lea ecx, [ebp - 0xc0]
call fcn.004297f0
call fcn.0042f3b0
push eax
lea ecx, [ebp - 0x1c8]
call fcn.00429450
mov byte [ebp - 4], 1
call fcn.0042f6e0
test al, al
je 0x43efd4
call fcn.0042f3a0
mov ebx, eax
jmp 0x43f010
push 0
lea ecx, [ebp - 0x1c8]
call fcn.00429da0
push eax
call fcn.00435750
add esp, 8
lea ecx, [ebp - 0xc0]
mov esi, eax
push esi
call fcn.00429da0
push eax
call fcn.00454700
add esp, 8
mov ebx, eax
test esi, esi
je 0x43f010
push esi
call fcn.004ffccb
add esp, 4
test ebx, ebx
jne 0x43f036
lea ecx, [ebp - 0x1c8]
call fcn.004295e0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 0xffffffff
call fcn.004295e0
jmp 0x43f1cb
push 0xffffffffffffffff
push dword [ebp + 8]
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x41c], 0
call fcn.00429480
push 0x57f2d8
push 0x57d880
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 2
call fcn.0042a280
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x41c]
push eax
push 1
lea ecx, [ebp - 0x144]
call fcn.00429da0
push eax
push ebx
call fcn.00453fc0
add esp, 0x14
test eax, eax
je 0x43f0a2
lea ecx, [ebp - 0x144]
call fcn.004295e0
jmp 0x43f014
mov esi, dword [ebp - 0x1cc]
mov dword [ebp - 0x40c], esi
test esi, esi
jne 0x43f0c2
lea ecx, [ebp - 0x144]
call fcn.004295e0
jmp 0x43f014
push esi
call fcn.0050000c
push esi
mov edi, eax
mov dword [ebp - 0x410], eax
push edi
push dword [ebp - 0x41c]
push ebx
call fcn.00454c50
add esp, 0x14
test eax, eax
je 0x43f117
cmp eax, 0x600
je 0x43f117
push edi
call fcn.004ffccb
add esp, 4
call fcn.0042f6e0
test al, al
jne 0x43f107
push ebx
call fcn.00453ce0
add esp, 4
lea ecx, [ebp - 0x144]
call fcn.004295e0
jmp 0x43f014
call fcn.0042f6e0
test al, al
jne 0x43f129
push ebx
call fcn.00453ce0
add esp, 4
lea ecx, [ebp - 0x144]
call fcn.004295e0
lea ecx, [ebp - 0x1c8]
call fcn.004295e0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 0xffffffff
call fcn.004295e0
jmp 0x43f1c3
test esi, esi
jne 0x43f15e
call fcn.0042f370
mov esi, eax
push edi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x43f1cb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push edi
test ebx, ebx
jne 0x43f186
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x43f1cb
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x40c], esi
test esi, esi
je 0x43f1cb
push esi
call fcn.0050000c
add esp, 4
mov edi, eax
mov dword [ebp - 0x410], edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push edi
call fcn.004fb160
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
test edi, edi
jne 0x43f26b
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0x80
push 3
push 0
push 1
push bind
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43f249
push 0
push ebx
call edi
mov esi, eax
mov dword [ebp - 0x40c], esi
test esi, esi
je 0x43f249
push esi
mov dword [ebp - 0x420], 0
call fcn.0050000c
add esp, 4
mov edi, eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x410], edi
push 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x420], esi
je 0x43f267
push edi
call fcn.004ffccb
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ff9ee
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x43f249
push 4
lea eax, [ebp - 0x408]
mov dword [ebp - 0x428], 0
push eax
lea eax, [ebp - 0x430]
xor bl, bl
push eax
lea eax, [ebp - 0x42c]
mov byte [ebp - 0x3f9], bl
push eax
push esi
push edi
call fcn.0044d800
add esp, 0x18
mov dword [ebp - 0x404], eax
test eax, eax
je 0x43f466
push 0x2c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004fb6e0
mov eax, dword [ebp - 0x430]
add esp, 0xc
mov edx, dword [ebp - 0x42c]
neg eax
mov dword [ebp - 0x34], eax
mov eax, edx
imul eax, dword [ebp - 0x430]
push 0
push 0
mov dword [ebp - 0x3c], 0x28
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x424], eax
shl eax, 2
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x400]
push eax
push 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x30], 0x200001
push eax
push 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x400], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x43f466
mov edx, dword [ebp - 0x424]
xor ebx, ebx
test edx, edx
jle 0x43f452
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 0x404]
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebp - 0x400]
mov cl, byte [esi + ebx*4 + 3]
mov byte [eax + ebx*4 + 3], cl
mov eax, dword [ebp - 0x400]
cmp byte [eax + ebx*4 + 3], 0xff
lea ecx, [eax + ebx*4]
mov dword [ebp - 0x408], ecx
jae 0x43f3e3
movzx eax, byte [esi + ebx*4 + 3]
movzx ecx, byte [esi + ebx*4 + 2]
imul ecx, eax
mov eax, 0x80808081
mov byte [ebp - 0x3f9], 1
mul ecx
mov eax, dword [ebp - 0x408]
shr edx, 7
mov byte [eax], dl
movzx eax, byte [esi + ebx*4 + 3]
movzx ecx, byte [esi + ebx*4 + 1]
imul ecx, eax
mov eax, 0x80808081
mul ecx
mov eax, dword [ebp - 0x400]
shr edx, 7
mov byte [eax + ebx*4 + 1], dl
movzx eax, byte [esi + ebx*4 + 3]
movzx ecx, byte [esi + ebx*4]
imul ecx, eax
mov eax, 0x80808081
mul ecx
mov eax, dword [ebp - 0x400]
shr edx, 7
mov byte [eax + ebx*4 + 2], dl
mov edx, dword [ebp - 0x424]
jmp 0x43f406
mov al, byte [esi + ebx*4 + 2]
mov byte [ecx], al
mov eax, dword [ebp - 0x400]
movzx ecx, byte [esi + ebx*4 + 1]
mov byte [eax + ebx*4 + 1], cl
mov eax, dword [ebp - 0x400]
movzx ecx, byte [esi + ebx*4]
mov byte [eax + ebx*4 + 2], cl
mov eax, dword [ebp - 0x400]
cmp dword [eax + ebx*4], edi
jne 0x43f43d
mov byte [eax + ebx*4], 0
mov eax, dword [ebp - 0x400]
mov byte [ebp - 0x3f9], 1
mov byte [eax + ebx*4 + 1], 0
mov eax, dword [ebp - 0x400]
mov byte [eax + ebx*4 + 2], 0
mov eax, dword [ebp - 0x400]
mov byte [eax + ebx*4 + 3], 0
inc ebx
cmp ebx, edx
jl 0x43f350
mov esi, dword [ebp - 0x40c]
mov edi, dword [ebp - 0x410]
push dword [ebp - 0x404]
call fcn.0044d7f0
mov bl, byte [ebp - 0x3f9]
add esp, 4
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0x404], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push edi
push eax
call fcn.004fb160
add esp, 0xc
mov dword [ebp - 0x414], 0
lea eax, [ebp - 0x414]
push eax
push 1
push dword [ebp - 0x404]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [ebp - 0x414]
push 0x10
mov dword [ebp - 0x408], eax
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x43f4df
lea ecx, [esi + 4]
mov dword [esi], vtable.Gdiplus::Image.0
push ecx
push dword [ebp - 0x408]
mov dword [ecx], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x43f4e1
xor esi, esi
test esi, esi
je 0x43f4f3
mov eax, dword [esi + 8]
mov dword [esi + 8], 0
test eax, eax
je 0x43f50d
mov eax, dword [ebp - 0x414]
xor esi, esi
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x404]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call fcn.004ffccb
mov edi, dword [ebp - 0x428]
add esp, 4
test edi, edi
jne 0x43f528
test esi, esi
je 0x43f249
push 0xa4
call fcn.004ffa30
add esp, 4
mov dword [ebp - 0x408], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x43f54f
mov ecx, eax
call fcn.0042d400
jmp 0x43f551
xor eax, eax
mov ecx, dword [ebp - 0x42c]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x430]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 0x14], ecx
mov byte [eax + 0x18], bl
jmp 0x43f24b