Function at 0x4128cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x6c
mov eax, 0x43448d
call fcn.0041504b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
mov al, byte [ecx + 0x24]
xor ecx, ecx
test al, al
push 0xa
setne cl
add ecx, 0x81
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ebx, 0x80070000
test esi, esi
jne 0x412924
call edi
mov edi, dword [ebp - 0x58]
movzx ecx, ax
or ecx, ebx
mov ebx, dword [ebp - 0x6c]
test eax, eax
cmovle ecx, eax
jmp 0x41297a
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x412910
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x412953
call edi
mov edi, dword [ebp - 0x58]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
jmp 0x41297a
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jne 0x412978
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
jmp 0x41297a
xor ecx, ecx
test ecx, ecx
jns 0x412985
mov eax, ecx
jmp 0x412c3d
and dword [ebp - 4], 0
lea eax, [ebp - 0x54]
and dword [ebp - 0x54], 0
push eax
push 0x44568c
xor eax, eax
inc eax
push eax
push 0
push 0x435390
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x412c2a
and dword [ebp - 0x60], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x412c45
and dword [ebp - 0x60], 0
lea edx, [ebp - 0x60]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x412c45
mov ecx, dword [eax]
push edi
push ebx
push eax
call dword [ecx + 0x40]
mov esi, eax
test esi, esi
js 0x412c19
xor ebx, ebx
mov dword [ebp - 0x68], ebx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x412c45
lea edx, [ebp - 0x68]
mov dword [ebp - 0x68], ebx
mov ecx, dword [eax]
push edx
push ebx
push ebx
push dword [ebp - 0x60]
push eax
call dword [ecx + 0x10]
mov esi, eax
test esi, esi
js 0x412c06
mov dword [ebp - 0x64], ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x412c45
lea edx, [ebp - 0x64]
mov dword [ebp - 0x64], ebx
mov ecx, dword [eax]
push edx
push ebx
push eax
call dword [ecx + 0x34]
mov esi, eax
test esi, esi
js 0x412bf5
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x412c45
mov dword [ebp - 0x5c], ebx
lea edx, [ebp - 0x5c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x28]
mov esi, eax
test esi, esi
js 0x412be4
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x412c45
mov ecx, dword [eax]
xorps xmm0, xmm0
push ebx
push ecx
push ecx
movsd qword [esp], xmm0
push ebx
push ebx
push 0x4353a0
push dword [ebp - 0x64]
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
js 0x412be4
mov dword [ebp - 0x50], ebx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x412c45
mov dword [ebp - 0x50], ebx
lea edx, [ebp - 0x50]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x34]
mov esi, eax
test esi, esi
js 0x412bd3
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x412c45
mov ecx, dword [eax]
push 0x10
push dword [ebp - 0x5c]
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
js 0x412bd3
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x412c45
mov edx, dword [eax]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x70]
push ecx
push eax
call dword [edx + 0xc]
mov esi, eax
test esi, esi
js 0x412bd3
mov edx, dword [ebp - 0x70]
lea edi, [ebp - 0x48]
push 0xa
pop ecx
xor eax, eax
mov ebx, edx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x58]
inc eax
push 0x20
mov word [ebp - 0x40], ax
pop eax
mov word [ebp - 0x3e], ax
shl ebx, 2
mov eax, ebx
mov dword [ebp - 0x48], edx
xor edx, edx
imul eax, ecx
push edx
push edx
mov dword [ebp - 0x4c], 0x28
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x6c]
push eax
push edx
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x3c], edx
push eax
push edx
mov dword [ebp - 0x6c], edx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov edi, dword [ebp - 0x74]
mov dword [edi], eax
test eax, eax
jne 0x412b7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x412bd3
mov eax, dword [ebp - 0x70]
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x14], esi
test eax, eax
je 0x412c45
push dword [ebp - 0x6c]
mov edx, dword [eax]
mov ecx, ebx
imul ecx, esi
push ecx
push ebx
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
jns 0x412bc3
push dword [edi]
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [edi], 0
jmp 0x412bd3
mov ecx, dword [ebp - 0x78]
xor esi, esi
mov eax, dword [ebp - 0x70]
mov dword [ecx], eax
mov eax, dword [ebp - 0x58]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x412be4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x412bf5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x412c06
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x412c19
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x412c2a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x412c3b
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
call fcn.00414ff5
ret 8
push 0x80004003
call fcn.00414430
int3