Function at 0x41466c
Capabilities:
Extract resource via kernel32 functions
Terminate process

Disassembly:
push 0x2ec
mov eax, 0x45f729
call fcn.00447e5b
mov edi, ecx
push 0xfffffffffffffff0
call fcn.00411cc8
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.00411cc8
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00411cc8
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x14]
xor esi, esi
sub eax, dword [ebp - 0x1c]
mov ecx, edi
push 0x20
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push esi
call fcn.00411cc8
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
push dword [edi + 4]
lea ebx, [edi + 0x2c]
mov ecx, ebx
call fcn.0040a66f
mov ecx, edi
lea eax, [edi + 0x24]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, ebx
call fcn.00409ca9
lea ecx, [ebp - 0x2f4]
call fcn.00425eef
mov dword [ebp - 4], esi
call fcn.0040a634
push eax
lea ecx, [ebp - 0x128]
call fcn.0041170b
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.00411e1d
test al, al
je 0x414792
lea eax, [ebp - 0xa4]
push eax
call fcn.0040a456
pop ecx
push eax
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 2
call fcn.00411865
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
call fcn.004117f0
mov eax, dword [edi]
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, edi
call dword [eax + 0x20]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004118f9
push eax
lea ecx, [ebp - 0x128]
call fcn.00411919
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
call fcn.004117f0
lea ecx, [ebp - 0x128]
call fcn.004118f9
push eax
call fcn.0040e3b1
mov eax, dword [edi]
pop ecx
mov ecx, edi
call dword [eax + 0x30]
dec eax
sub eax, 1
je 0x414863
dec eax
sub eax, 1
jne 0x414895
mov eax, dword [edi]
mov ecx, edi
push 0x46208c
call dword [eax + 0x38]
push eax
call fcn.0040a625
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4149c6
push esi
call fcn.0040a625
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x2f8], eax
push esi
test eax, eax
jne 0x414805
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4149c6
call fcn.0040a625
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x4149c6
push ebx
call fcn.00447b8a
mov dword [0x47ca78], eax
pop ecx
test eax, eax
je 0x414847
push ebx
push dword [ebp - 0x2f8]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x47ca78]
call fcn.00448ed0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push ebx
push dword [0x47ca78]
call fcn.0040e3fa
pop ecx
pop ecx
lea ebx, [edi + 0x2c]
xor esi, esi
jmp 0x414895
mov eax, dword [edi]
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, edi
call dword [eax + 0x34]
push 1
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.004118f9
push eax
call fcn.0040e45e
pop ecx
pop ecx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
call fcn.004117f0
mov eax, dword [edi]
lea ecx, [ebp - 0x1ac]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 5
call fcn.00411e1d
test al, al
jne 0x4148c8
lea ecx, [ebp - 0x1ac]
call fcn.004118f9
push eax
call fcn.00415606
pop ecx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
lea ecx, [ebp - 0xa4]
cmp eax, 3
mov eax, dword [edi]
push ecx
mov ecx, edi
jne 0x414937
call dword [eax + 0x24]
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.004118f9
push eax
call fcn.0044d503
pop ecx
push eax
lea ecx, [ebp - 0x2f8]
call fcn.004117c5
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 5
call fcn.004117f0
mov ecx, edi
lea eax, [edi + 0x28]
neg ecx
push esi
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
push 0x46209c
push dword [ebp - 0x2f8]
lea ecx, [ebp - 0x2f4]
call fcn.00426666
mov esi, eax
jmp 0x41497a
call dword [eax + 0x24]
push esi
xor edx, edx
mov byte [ebp - 4], 7
push ebx
test edi, edi
lea ecx, [edi + 0x28]
cmove ecx, edx
push ecx
push esi
push ecx
mov ecx, eax
mov esi, esp
call fcn.004118f9
push eax
mov ecx, esi
call fcn.004117d4
lea ecx, [ebp - 0x2f4]
call fcn.00426666
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 5
mov esi, eax
call fcn.004117f0
test esi, esi
jne 0x414999
push 0x10
push str.Duilib
push 0x4620b4
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov ecx, ebx
call fcn.00409d65
mov edx, edi
lea eax, [edi + 0x20]
neg edx
mov ecx, ebx
sbb edx, edx
and edx, eax
push edx
call fcn.00409bc6
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
lea ecx, [ebp - 0x1ac]
call fcn.004117f0
lea ecx, [ebp - 0x128]
call fcn.004117f0
lea ecx, [ebp - 0x2f4]
call fcn.004250d6
xor eax, eax
call fcn.00447e16
ret 0x10