Function at 0x4074dc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
movzx eax, word [ebp + 0xc]
push ebx
push esi
mov esi, dword [0x492fe8]
push edi
push 0xf1
push eax
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
xor edi, edi
cmp eax, edi
je 0x4075ef
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
je 0x4075ef
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, edi
je 0x4075ef
xor eax, eax
cmp dword [ebp + 0x10], edi
setne al
mov esi, eax
movzx eax, word [ebx + 6]
add eax, esi
mov dword [ebp - 0x10], eax
lea eax, [eax + eax*4]
shl eax, 2
add eax, 3
and al, 0xfc
call fcn.0046aab0
cmp dword [ebp + 0x10], edi
mov eax, esp
mov dword [ebp - 0xc], eax
je 0x40756e
and byte [eax + 8], 0
mov dword [eax], 4
mov dword [eax + 4], edi
mov byte [eax + 9], 1
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
xor edx, edx
cmp word [ebx + 6], di
mov dword [ebp - 4], edi
jbe 0x4075c5
lea esi, [esi + esi*4]
lea ecx, [ebx + 8]
lea eax, [eax + esi*4 + 8]
cmp word [ecx], di
je 0x4075a0
mov esi, dword [ebp - 4]
inc dword [ebp - 4]
mov dword [eax - 8], esi
movzx esi, word [ecx]
mov dword [eax - 4], esi
mov byte [eax], 4
and byte [eax + 1], 0
jmp 0x4075b1
mov dword [eax - 8], 8
mov dword [eax - 4], edi
and byte [eax], 0
mov byte [eax + 1], 1
mov dword [eax + 4], edi
mov dword [eax + 8], edi
movzx esi, word [ebx + 6]
inc edx
inc ecx
inc ecx
add eax, 0x14
cmp edx, esi
jl 0x407583
mov eax, dword [0x492fe4]
push edi
push eax
push dword [ebp + 0x18]
push dword [ebp + 8]
push 0x64
push 0x64
push edi
push edi
push dword [ebp + 0x14]
push edi
push 0x47f0f8
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp eax, edi
mov dword [ebp + 0x10], eax
jne 0x4075f6
xor eax, eax
jmp 0x407718
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0x14
push 0x41e
push eax
call esi
push edi
push edi
push 0x31
push dword [ebp + 0x10]
call esi
mov edx, eax
cmp edx, edi
jne 0x407620
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, eax
push 0x16
mov dword [ebp - 0x74], edi
pop ecx
xor eax, eax
lea edi, [ebp - 0x70]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x74]
push eax
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
push dword [ebp - 0x74]
call fcn.0046be38
movzx edi, word [ebp + 0xc]
mov dword [ebp + 0x18], eax
mov eax, esp
mov dword [eax], edi
call fcn.00407720
cmp ax, 4
pop ecx
jbe 0x40768d
cmp ax, 0x20
mov ecx, 0xff000000
jne 0x407667
or ecx, 0xffffffff
mov eax, dword [0x492fe8]
push 0x2040
push 0
push ecx
movzx ecx, word [ebx + 2]
push 1
push ecx
push edi
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
push eax
push 0
push 0x430
jmp 0x4076ab
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
push 0x413
push dword [ebp + 0x10]
call esi
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x444
push dword [ebp + 0x10]
call esi
mov ax, word [ebx + 4]
mov edi, dword [ebp + 0x18]
cmp ax, di
ja 0x4076ce
mov eax, edi
movzx ecx, word [ebx + 2]
movzx eax, ax
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x420
push dword [ebp + 0x10]
call esi
mov ax, word [ebx + 4]
cmp ax, di
ja 0x4076f2
mov eax, edi
mov cx, word [ebx + 2]
add eax, 7
movzx eax, ax
add cx, 7
movzx ecx, cx
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x41f
push dword [ebp + 0x10]
call esi
mov eax, dword [ebp + 0x10]
lea esp, [ebp - 0x80]
pop edi
pop esi
pop ebx
leave
ret