Function at 0x43a260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x284
mov eax, dword [0x4da6bc]
xor eax, esp
mov dword [esp + 0x280], eax
mov eax, dword [esp + 0x288]
mov ecx, dword [esp + 0x298]
push ebx
push esi
mov esi, dword [0x5144c8]
mov dword [esp + 0xc], eax
movzx eax, word [esp + 0x294]
push 0xf1
push eax
push esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
xor ebx, ebx
cmp eax, ebx
jne 0x43a2ce
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.0049e9d2
add esp, 0x284
ret
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x43a2b5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp esi, ebx
je 0x43a2b5
movzx eax, word [esi + 6]
push ebp
mov ebp, dword [esp + 0x29c]
xor edx, edx
cmp ebp, ebx
setne dl
push edi
lea ecx, [esp + 0x8c]
mov dword [esp + 0x8c], ebx
mov edi, edx
add eax, edi
push eax
mov dword [esp + 0x2c], eax
call fcn.00439610
mov dword [esp + 0x2c], eax
cmp eax, ebx
jne 0x43a332
lea eax, [esp + 0x90]
cmp dword [esp + 0x8c], eax
jmp 0x43a3e4
cmp ebp, ebx
je 0x43a34c
mov dword [eax], 4
mov dword [eax + 4], ebx
mov byte [eax + 8], bl
mov byte [eax + 9], 1
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
xor edx, edx
xor ebp, ebp
xor ecx, ecx
mov dword [esp + 0x20], edx
cmp bp, word [esi + 6]
jae 0x43a3a3
lea edi, [edi + edi*4]
lea eax, [eax + edi*4 + 8]
lea edi, [edx + 8]
cmp word [esi + ecx*2 + 8], bx
je 0x43a381
mov dword [eax - 8], edx
movzx ebp, word [esi + ecx*2 + 8]
inc edx
mov dword [eax - 4], ebp
mov byte [eax], 4
mov byte [eax + 1], bl
jmp 0x43a38d
mov dword [eax - 8], edi
mov dword [eax - 4], ebx
mov byte [eax], bl
mov byte [eax + 1], 1
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
movzx ebp, word [esi + 6]
inc ecx
add eax, 0x14
cmp ecx, ebp
jl 0x43a366
mov dword [esp + 0x20], edx
mov ecx, dword [0x5144c4]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push ebx
push ecx
mov ecx, dword [esp + 0x2ac]
push edx
push eax
push 0x64
push 0x64
push ebx
push ebx
push ecx
push ebx
push 0x4befe8
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
cmp edi, ebx
jne 0x43a3f9
lea edx, [esp + 0x90]
cmp dword [esp + 0x8c], edx
je 0x43a3f2
lea ecx, [esp + 0x8c]
call fcn.00404fb0
xor eax, eax
jmp 0x43a57b
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0x14
push 0x41e
push edi
call ebp
push ebx
push ebx
push 0x31
push edi
call ebp
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x43a425
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x10], eax
push 0x58
lea eax, [esp + 0x38]
push ebx
push eax
mov dword [esp + 0x3c], ebx
call fcn.0049e9f0
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
cdq
xor eax, edx
sub eax, edx
movzx eax, ax
push 2
mov dword [esp + 0x14], eax
mov eax, dword [0x5144c8]
push ecx
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edx, dword [esp + 0x14]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
movzx eax, word [eax + 0xe]
cmp ax, 4
jbe 0x43a4c6
mov ecx, 0xff000000
cmp ax, 0x20
jne 0x43a49d
or ecx, 0xffffffff
movzx eax, word [esi + 2]
mov edx, dword [0x5144c8]
push 0x2040
push ebx
push ecx
mov ecx, dword [esp + 0x28]
push 1
push eax
push ecx
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
push eax
push ebx
push 0x430
jmp 0x43a4ec
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x29c]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
push edx
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x20], ecx
push 0x413
push edi
call ebp
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
push 0x444
push edi
call ebp
movzx eax, word [esi + 4]
mov ecx, dword [esp + 0x10]
cmp ax, cx
movzx eax, ax
ja 0x43a514
movzx eax, cx
movzx ecx, word [esi + 2]
movzx eax, ax
shl eax, 0x10
or eax, ecx
push eax
push ebx
push 0x420
push edi
call ebp
movzx eax, word [esi + 4]
mov ecx, dword [esp + 0x10]
cmp ax, cx
movzx eax, ax
ja 0x43a53d
movzx eax, cx
add eax, 7
movzx edx, ax
mov ax, word [esi + 2]
add ax, 7
movzx ecx, ax
shl edx, 0x10
or edx, ecx
push edx
push ebx
push 0x41f
push edi
call ebp
lea edx, [esp + 0x90]
cmp dword [esp + 0x8c], edx
je 0x43a579
lea ecx, [esp + 0x8c]
call fcn.00404fb0
mov eax, edi
mov ecx, dword [esp + 0x290]
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.0049e9d2
add esp, 0x284
ret