Function at 0x43f6a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4659d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4826d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [0x48585c]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x43f6f9
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43f6e3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x43f6e3
movzx eax, word [ecx + 6]
lea edi, [ecx + 8]
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 4]
push eax
movzx eax, word [ecx + 2]
mov ecx, ebx
push eax
call fcn.0043e6a0
mov eax, dword [ebx + 0x48]
test eax, eax
jne 0x43f7af
mov esi, dword [0x48585c]
push 2
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 1
cmp word [eax + 0xe], 0x20
mov al, byte [ebx + 0x85]
setne dl
and al, 0xdf
dec dl
and dl, 0x20
or dl, al
mov eax, dword [ebp - 0x14]
mov byte [ebx + 0x85], dl
test dl, 0x20
movzx ecx, word [eax + 6]
mov eax, 0
setne al
push ecx
lea eax, [eax*8 + 0x19]
push eax
push dword [ebx + 0x94]
push dword [ebx + 0x90]
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [ebx + 0x48], eax
test eax, eax
je 0x43f6e3
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov dword [ebp - 0x14], eax
cmp byte [ebp + 0xc], 0
mov dword [ebp - 4], 0
je 0x43f7e4
push dword [ebp + 0x18]
movzx eax, word [ebp + 0x10]
push dword [ebp + 0x14]
movsx ecx, word [ebp + 8]
push eax
push ecx
push dword [0x48585c]
call dword [sym.imp.COMCTL32.dll_CreateMappedBitmap]
jmp 0x43f818
test byte [ebx + 0x85], 0x20
je 0x43f809
push 0x2040
push 0
push 0
push 0
push dword [ebp + 8]
push dword [0x48585c]
call dword [sym.imp.USER32.dll_LoadImageW]
jmp 0x43f818
push dword [ebp + 8]
push dword [0x48585c]
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov esi, eax
mov dword [ebp + 0xc], esi
test esi, esi
je 0x43f88b
push dword [ebx + 0xa0]
push esi
push dword [ebx + 0x48]
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp eax, 0xffffffff
je 0x43f88b
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43f85d
nop dword [eax]
cmp word [edi], 0
je 0x43f852
push edi
lea ecx, [ebx + 0x4c]
call fcn.0042ac70
mov eax, dword [ebp - 0x10]
add edi, 2
sub eax, 1
mov dword [ebp - 0x10], eax
jne 0x43f840
push dword [ebx + 0x48]
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov edi, eax
cmp edi, dword [ebx + 0x50]
jne 0x43f88b
call fcn.004391e0
test al, al
je 0x43f884
mov eax, dword [ebp - 0x14]
mov ecx, ebx
sub edi, eax
push edi
push eax
call fcn.0043f430
mov edi, 1
jmp 0x43f88d
xor edi, edi
test esi, esi
je 0x43f898
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14