Function at 0x42a754
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x43ab08
call fcn.00437bf0
sub esp, 0x74
movzx eax, word [ebp + 0xc]
push ebx
push esi
mov esi, dword [0x456bc8]
push edi
push 0xf1
push eax
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
xor edi, edi
cmp eax, edi
je 0x42a86e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
je 0x42a86e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, edi
je 0x42a86e
xor eax, eax
cmp dword [ebp + 0x10], edi
setne al
mov esi, eax
movzx eax, word [ebx + 6]
add eax, esi
mov dword [ebp - 0x1c], eax
lea eax, [eax + eax*4]
shl eax, 2
add eax, 3
and al, 0xfc
call fcn.00437c10
cmp dword [ebp + 0x10], edi
mov eax, esp
mov dword [ebp - 0x18], eax
je 0x42a7ed
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 - 0x10], edi
jbe 0x42a844
lea esi, [esi + esi*4]
lea ecx, [ebx + 8]
lea eax, [eax + esi*4 + 8]
cmp word [ecx], di
je 0x42a81f
mov esi, dword [ebp - 0x10]
inc dword [ebp - 0x10]
mov dword [eax - 8], esi
movzx esi, word [ecx]
mov dword [eax - 4], esi
mov byte [eax], 4
and byte [eax + 1], 0
jmp 0x42a830
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 0x42a802
mov eax, dword [0x456bc4]
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 0x4447f8
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp eax, edi
mov dword [ebp + 0x10], eax
jne 0x42a875
xor eax, eax
jmp 0x42a9a1
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 dword [ebp + 0x18], eax
cmp eax, edi
mov dword [ebp - 4], edi
jne 0x42a8a4
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp + 0x18], eax
push 0x16
mov dword [ebp - 0x80], edi
pop ecx
xor eax, eax
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
push eax
push 0x5c
push dword [ebp + 0x18]
call dword [sym.imp.GDI32.dll_GetObjectW]
push dword [ebp - 0x80]
call sub.MSVCRT.dll_abs
movzx edi, word [ebp + 0xc]
mov dword [ebp + 8], eax
mov eax, esp
mov dword [ebp + 0x14], esp
mov dword [eax], edi
call fcn.0042a9b6
cmp ax, 4
pop ecx
jbe 0x42a916
cmp ax, 0x20
mov ecx, 0xff000000
jne 0x42a8f0
or ecx, 0xffffffff
mov eax, dword [0x456bc8]
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 0x42a934
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
push 0x413
push dword [ebp + 0x10]
call esi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0x444
push dword [ebp + 0x10]
call esi
mov ax, word [ebx + 4]
mov edi, dword [ebp + 8]
cmp ax, di
ja 0x42a957
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 0x42a97b
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]
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x8c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret