Function at 0x455690
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4bc41b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
movzx eax, word [esp + 0x294]
push ebx
push esi
mov esi, dword [0x4de188]
push 0xf1
push eax
push esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
xor ebx, ebx
cmp eax, ebx
jne 0x4556ef
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
add esp, 0x28c
ret
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x4556d6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
cmp esi, ebx
je 0x4559a3
push ebp
mov ebp, dword [esp + 0x2a4]
cmp ebp, ebx
setne al
push edi
mov edi, eax
movzx eax, word [esi + 6]
add eax, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x8c], ebx
push eax
lea ecx, [esp + 0x90]
mov dword [esp + 0x29c], ebx
call fcn.00454b90
mov dword [esp + 0x2c], eax
cmp eax, ebx
jne 0x45575e
lea ecx, [esp + 0x90]
cmp dword [esp + 0x8c], ecx
jmp 0x455813
cmp ebp, ebx
je 0x455777
mov dword [eax], 4
mov dword [eax + 4], ebx
mov word [eax + 8], pe_nt_image_headers32
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
xor edx, edx
xor ebp, ebp
xor ecx, ecx
mov dword [esp + 0x18], edx
cmp bp, word [esi + 6]
jae 0x4557cc
lea edi, [edi + edi*4]
lea eax, [eax + edi*4 + 8]
lea edi, [edx + 8]
cmp word [esi + ecx*2 + 8], bx
je 0x4557ab
mov dword [eax - 8], edx
movzx ebp, word [esi + ecx*2 + 8]
inc edx
mov dword [eax - 4], ebp
mov word [eax], 4
jmp 0x4557b6
mov dword [eax - 8], edi
mov dword [eax - 4], ebx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
movzx ebp, word [esi + 6]
inc ecx
add eax, 0x14
cmp ecx, ebp
jl 0x455791
mov dword [esp + 0x18], edx
mov edx, dword [0x4de184]
mov eax, dword [esp + 0x2b0]
mov ecx, dword [esp + 0x2a0]
push ebx
push edx
mov edx, dword [esp + 0x2b4]
push eax
push ecx
push 0x64
push 0x64
push ebx
push ebx
push edx
push ebx
push 0x4be578
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
cmp edi, ebx
jne 0x455828
lea eax, [esp + 0x90]
cmp dword [esp + 0x8c], eax
je 0x455821
lea ecx, [esp + 0x8c]
call fcn.00443780
xor eax, eax
jmp 0x4559a1
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 0x455854
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x10], eax
push 0x58
lea ecx, [esp + 0x38]
push ebx
push ecx
mov dword [esp + 0x3c], ebx
call fcn.0049e6e0
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x30]
push edx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x30]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x14]
push 2
movzx ecx, ax
mov eax, dword [0x4de188]
push edx
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
movzx eax, word [eax + 0xe]
cmp eax, 4
jbe 0x4558f2
mov ecx, 0xff000000
cmp eax, 0x20
jne 0x4558ca
or ecx, 0xffffffff
mov edx, dword [esp + 0x14]
mov eax, dword [0x4de188]
push 0x2040
push ebx
push ecx
movzx ecx, word [esi + 2]
push 1
push ecx
push edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
push eax
push ebx
push 0x430
jmp 0x455918
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2a4]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x28], edx
push 0x413
push edi
call ebp
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
push 0x444
push edi
call ebp
movzx eax, word [esi + 4]
mov ecx, dword [esp + 0x10]
cmp ax, cx
ja 0x45593d
movzx eax, cx
movzx edx, word [esi + 2]
movzx ecx, ax
shl ecx, 0x10
or ecx, edx
push ecx
push ebx
push 0x420
push edi
call ebp
movzx eax, word [esi + 4]
mov ecx, dword [esp + 0x10]
cmp ax, cx
ja 0x455963
movzx eax, cx
mov cx, word [esi + 2]
add eax, 7
movzx eax, ax
add cx, 7
movzx edx, cx
shl eax, 0x10
or eax, edx
push eax
push ebx
push 0x41f
push edi
call ebp
lea eax, [esp + 0x90]
cmp dword [esp + 0x8c], eax
je 0x45599f
lea ecx, [esp + 0x8c]
call fcn.00443780
mov eax, edi
pop edi
pop ebp
mov ecx, dword [esp + 0x288]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28c
ret