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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a0d8b
mov eax, dword fs:[0]
push eax
sub esp, 0x400
mov eax, dword [0x621810]
xor eax, esp
mov dword [esp + 0x3f8], eax
push ebx
push esi
push edi
mov eax, dword [0x621810]
xor eax, esp
push eax
lea eax, [esp + 0x410]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 4]
push 0xfffffffffffffff0
push eax
mov dword [esp + 0x1c], ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebx + 4]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [ebx + 4]
lea edi, [ebx + 0x198]
mov dword [esp + 0x1c], edi
call fcn.00412208
lea eax, [ebx + 0x24]
push eax
lea esi, [ebx + 0x29c]
call fcn.00414e40
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov byte [esp + 0x158], 1
mov dword [esp + 0x15c], esi
mov dword [esp + 0x160], esi
mov dword [esp + 0x418], esi
mov eax, dword [0x62c448]
cmp word [eax], si
jne 0x410bfa
lea edi, [esp + 0x2b4]
call fcn.00412295
lea ecx, [esp + 0x164]
mov byte [esp + 0x418], 1
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x2c]
mov byte [esp + 0x418], 2
mov eax, dword [eax]
cmp eax, esi
je 0x410bc5
mov ebx, eax
mov esi, edi
call fcn.00414fc9
mov ebx, dword [esp + 0x14]
xor esi, esi
lea ecx, [esp + 0x164]
mov byte [esp + 0x418], 1
call fcn.00414fb8
push dword [esp + 0x2b4]
call fcn.00412399
pop ecx
lea ecx, [esp + 0x2b4]
mov byte [esp + 0x418], 0
call fcn.00414fb8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x38]
dec eax
dec eax
je 0x410cc3
dec eax
dec eax
jne 0x410cf5
cmp dword [0x6356a4], esi
je 0x410c2b
cmp dword [0x6356a8], esi
je 0x410c2b
call fcn.004123ee
jmp 0x410cf5
mov eax, dword [ebx]
push 0x603238
mov ecx, ebx
call dword [eax + 0x40]
push eax
call fcn.0041238a
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
je 0x410e1d
push edi
call fcn.0041238a
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x14], eax
push edi
cmp eax, esi
jne 0x410c6f
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x410e1d
call fcn.0041238a
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [0x6356a8], eax
cmp eax, esi
je 0x410e1d
push eax
call fcn.0048b666
pop ecx
mov dword [0x6356a4], eax
cmp eax, esi
je 0x410cb7
push dword [0x6356a8]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x6356a4]
call fcn.0048b960
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x410c21
mov eax, dword [ebx]
lea ecx, [esp + 0x164]
push ecx
mov ecx, ebx
call dword [eax + 0x3c]
mov byte [esp + 0x418], 3
mov edi, dword [eax]
call fcn.0041245b
lea ecx, [esp + 0x164]
mov byte [esp + 0x418], 0
call fcn.00414fb8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x38]
lea ecx, [esp + 0x164]
push ecx
cmp eax, 3
mov eax, dword [ebx]
mov ecx, ebx
jne 0x410d43
call dword [eax + 0x30]
push dword [eax]
call fcn.0048cae1
pop ecx
lea ecx, [esp + 0x164]
movzx edi, ax
call fcn.00414fb8
push esi
push dword [esp + 0x1c]
lea eax, [ebx + 0x28]
push eax
push 0x603248
push edi
lea ecx, [esp + 0x30]
call fcn.004197ab
mov edi, eax
jmp 0x410d82
lea edi, [ebx + 0x28]
call dword [eax + 0x30]
push esi
push dword [esp + 0x1c]
mov byte [esp + 0x420], 4
mov eax, dword [eax]
push edi
push esi
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], esp
call fcn.004197ab
lea ecx, [esp + 0x164]
mov edi, eax
mov byte [esp + 0x418], 0
call fcn.00414fb8
cmp edi, esi
jne 0x410da1
push 0x10
push str.Duilib
push 0x603260
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [esp + 0x18]
push edi
call fcn.00413bbc
lea eax, [ebx + 0x20]
push eax
lea esi, [ebx + 0x284]
call fcn.00414e40
cmp byte [ebx + 0x267], 0
je 0x410e16
cmp byte [ebx + 0x268], 0
jne 0x410e16
push 0x28
call fcn.0048bf08
pop ecx
xor ecx, ecx
cmp eax, ecx
je 0x410e06
or dword [eax + 4], 0xffffffff
mov dword [eax], vtable.DuiLib::CWndShadow.0
mov dword [eax + 8], 0xe0d64
mov byte [eax + 0xc], cl
mov dword [eax + 0x10], ecx
mov byte [eax + 0x14], cl
mov dword [eax + 0x18], 0x505050
mov byte [eax + 0x1c], cl
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
jmp 0x410e08
xor eax, eax
push dword [ebx + 4]
mov dword [ebx + 0x6b0], eax
call fcn.0041b390
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
lea esi, [esp + 0x1c]
call fcn.0041d403
xor eax, eax
mov ecx, dword [esp + 0x410]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3f8]
xor ecx, esp
call fcn.0048b951
mov esp, ebp
pop ebp
ret 0x10