Function at 0x411430
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 [0x55e300]
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 0x411468
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 0x41147e
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 0x411495
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.00531740
xor edx, edx
mov eax, esp
cmp edi, edx
mov dword [ebp - 0x10], eax
je 0x4114dd
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 0x41153a
lea esi, [esi + esi*4]
lea ecx, [ebx + 8]
lea eax, [eax + esi*4 + 8]
cmp word [ecx], dx
je 0x411512
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 0x411523
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 0x4114f2
mov eax, dword [0x55e2fc]
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 0x547390
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x411570
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 0x41159b
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.004116c0
add esp, 4
cmp ax, 4
jbe 0x411614
cmp ax, 0x20
mov ecx, 0xff000000
jne 0x4115e9
or ecx, 0xffffffff
mov eax, dword [0x55e300]
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 0x411634
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 0x41165a
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 0x411684
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