Function at 0x44a150
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push 0x477488
movzx eax, word [ebp + 0xc]
push eax
mov ecx, dword [0x4846d0]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x44a17d
xor eax, eax
jmp 0x44a795
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [0x4846d0]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [0x4846d0]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x44a1b1
xor eax, eax
jmp 0x44a795
mov eax, dword [ebp - 0x58]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00415c30
add esp, 0xc
lea edx, [ebp - 0x40]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00404b80
add esp, 8
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x48]
call fcn.00401cd0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x48]
call fcn.00401d00
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 0
jmp 0x44a265
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 3
jge 0x44a309
mov dword [ebp - 0x10], 0
jmp 0x44a281
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 3
jge 0x44a304
lea ecx, [ebp - 0x5c]
call fcn.00404a20
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.00404bd0
lea ecx, [ebp - 0x5c]
call fcn.00404a60
movzx eax, al
test eax, eax
je 0x44a2b4
jmp 0x44a278
cmp dword [ebp - 0x2c], 0
je 0x44a2c4
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0xc]
add edx, 1
push edx
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x44a2eb
jmp 0x44a278
push 2
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.GDI32.dll_CombineRgn]
jmp 0x44a278
jmp 0x44a25c
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0xc], 0
jmp 0x44a32c
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x44a3f4
mov ecx, dword [ebp - 0x18]
sub ecx, 3
mov dword [ebp - 0x10], ecx
jmp 0x44a34a
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jge 0x44a3ef
lea ecx, [ebp - 0x60]
call fcn.00404a20
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.00404bd0
lea ecx, [ebp - 0x60]
call fcn.00404a60
movzx ecx, al
test ecx, ecx
je 0x44a383
jmp 0x44a341
cmp dword [ebp - 0x2c], 0
je 0x44a39a
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x44a3c1
jmp 0x44a341
push 0
mov ecx, 3
sub ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.GDI32.dll_OffsetRgn]
push 2
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.GDI32.dll_CombineRgn]
jmp 0x44a341
jmp 0x44a323
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x14]
sub eax, 3
mov dword [ebp - 0xc], eax
jmp 0x44a419
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x14]
jge 0x44a4ea
mov eax, dword [ebp - 0x18]
sub eax, 3
mov dword [ebp - 0x10], eax
jmp 0x44a439
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x18]
jge 0x44a4e5
lea ecx, [ebp - 0x64]
call fcn.00404a20
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.00404bd0
lea ecx, [ebp - 0x64]
call fcn.00404a60
movzx eax, al
test eax, eax
je 0x44a472
jmp 0x44a430
cmp dword [ebp - 0x2c], 0
je 0x44a489
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0xc]
add edx, 1
push edx
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x44a4b0
jmp 0x44a430
mov eax, 3
sub eax, dword [ebp - 0x14]
push eax
mov ecx, 3
sub ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.GDI32.dll_OffsetRgn]
push 2
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.GDI32.dll_CombineRgn]
jmp 0x44a430
jmp 0x44a410
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
sub eax, 3
mov dword [ebp - 0xc], eax
jmp 0x44a50f
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x14]
jge 0x44a5d5
mov dword [ebp - 0x10], 0
jmp 0x44a52d
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x44a5d0
lea ecx, [ebp - 0x68]
call fcn.00404a20
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.00404bd0
lea ecx, [ebp - 0x68]
call fcn.00404a60
movzx ecx, al
test ecx, ecx
je 0x44a564
jmp 0x44a524
cmp dword [ebp - 0x2c], 0
je 0x44a57b
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x44a5a2
jmp 0x44a524
mov ecx, 3
sub ecx, dword [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.GDI32.dll_OffsetRgn]
push 2
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.GDI32.dll_CombineRgn]
jmp 0x44a524
jmp 0x44a506
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x28], 0
je 0x44a604
push 3
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_CombineRgn]
cmp dword [ebp - 0x4c], 0
je 0x44a66b
cmp dword [ebp - 0x2c], 0
je 0x44a621
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 0x2c], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [ebp - 0x2c], eax
push 5
push 0
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.GDI32.dll_CombineRgn]
push 0
mov edx, dword [ebp - 0x34]
sub edx, 3
push edx
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.GDI32.dll_OffsetRgn]
push 3
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
cmp dword [ebp - 0x54], 0
je 0x44a6d7
cmp dword [ebp - 0x2c], 0
je 0x44a688
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 0x2c], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [ebp - 0x2c], eax
push 5
push 0
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
mov ecx, dword [ebp - 0x30]
sub ecx, 3
push ecx
mov edx, dword [ebp - 0x34]
sub edx, 3
push edx
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.GDI32.dll_OffsetRgn]
push 3
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
cmp dword [ebp - 0x44], 0
je 0x44a73e
cmp dword [ebp - 0x2c], 0
je 0x44a6f4
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 0x2c], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [ebp - 0x2c], eax
push 5
push 0
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
mov ecx, dword [ebp - 0x30]
sub ecx, 3
push ecx
push 0
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.GDI32.dll_OffsetRgn]
push 3
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.GDI32.dll_CombineRgn]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret