Function at 0x411280
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [0x55f3b8]
push edi
and eax, 0xffff
push 0xf1
push eax
push esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x4112b8
lea esp, [ebp - 0x7c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4112ce
lea esp, [ebp - 0x7c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4112e5
lea esp, [ebp - 0x7c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x10]
xor eax, eax
test edi, edi
setne al
mov esi, eax
xor eax, eax
mov ax, word [ebx + 6]
add eax, esi
mov dword [ebp - 0x14], eax
lea eax, [eax + eax*4]
shl eax, 2
add eax, 3
and al, 0xfc
call fcn.00532230
xor edx, edx
mov eax, esp
cmp edi, edx
mov dword [ebp - 0x10], eax
je 0x41132d
mov dword [eax], 4
mov dword [eax + 4], edx
mov byte [eax + 8], dl
mov byte [eax + 9], 1
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
xor edi, edi
cmp word [ebx + 6], dx
mov dword [ebp + 0x10], edx
jbe 0x41138a
lea esi, [esi + esi*4]
lea ecx, [ebx + 8]
lea eax, [eax + esi*4 + 8]
cmp word [ecx], dx
je 0x411362
mov esi, dword [ebp + 0x10]
mov dword [eax - 8], esi
inc esi
mov dword [ebp + 0x10], esi
xor esi, esi
mov si, word [ecx]
mov dword [eax - 4], esi
mov byte [eax], 4
mov byte [eax + 1], 0
jmp 0x411373
mov dword [eax - 8], 8
mov dword [eax - 4], edx
mov byte [eax], 0
mov byte [eax + 1], 1
mov dword [eax + 4], edx
xor esi, esi
mov dword [eax + 8], edx
mov si, word [ebx + 6]
inc edi
add ecx, 2
add eax, 0x14
cmp edi, esi
jl 0x411342
mov eax, dword [0x55f3b4]
mov ecx, dword [ebp + 0x18]
push edx
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x14]
push eax
push 0x64
push 0x64
push edx
push edx
push ecx
push edx
push 0x5483a0
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x4113c0
lea esp, [ebp - 0x7c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x14
push 0x41e
push esi
call edi
push 0
push 0
push 0x31
push esi
call edi
mov edx, eax
test edx, edx
jne 0x4113eb
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, eax
mov ecx, 0x16
xor eax, eax
lea edi, [ebp - 0x6c]
mov dword [ebp - 0x70], 0
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x70]
push eax
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 4]
cdq
mov edi, eax
mov eax, esp
xor edi, edx
sub edi, edx
mov dword [eax], ecx
call fcn.00411510
add esp, 4
cmp ax, 4
jbe 0x411464
cmp ax, 0x20
mov ecx, 0xff000000
jne 0x411439
or ecx, 0xffffffff
mov eax, dword [0x55f3b8]
push 0x2040
xor edx, edx
push 0
mov dx, word [ebx + 2]
push ecx
mov ecx, dword [ebp - 4]
push 1
push edx
push ecx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
push eax
push 0
push 0x430
jmp 0x411484
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], edx
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 8]
mov dword [ebp - 4], 0
push ecx
push edx
mov dword [ebp - 4], eax
push 0x413
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
push 0x444
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ax, word [ebx + 4]
cmp ax, di
ja 0x4114aa
mov eax, edi
and eax, 0xffff
xor edx, edx
mov dx, word [ebx + 2]
shl eax, 0x10
or eax, edx
push eax
push 0
push 0x420
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ax, word [ebx + 4]
cmp ax, di
ja 0x4114d4
mov eax, edi
mov cx, word [ebx + 2]
add eax, 7
and eax, 0xffff
add cx, 7
shl eax, 0x10
and ecx, 0xffff
or eax, ecx
push eax
push 0
push 0x41f
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea esp, [ebp - 0x7c]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret