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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46befc
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4860f0]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x4860f0]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov edi, ecx
push 0xfffffffffffffff0
mov eax, edi
call fcn.0041ec70
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
mov eax, edi
call fcn.0041ec70
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [esp + 0x18]
push eax
mov eax, edi
call fcn.0041ec70
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push 0x20
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x20]
sub edx, ecx
push edx
push eax
push ecx
push 0
mov eax, edi
call fcn.0041ec70
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [edi + 4]
lea ebx, [edi + 0x2c]
mov ecx, ebx
call fcn.0041af90
lea eax, [edi + 0x24]
mov ecx, ebx
call fcn.0041d790
lea eax, [esp + 0x134]
call fcn.00430e40
mov dword [esp + 0x290], 0
call fcn.0041b0c0
call fcn.004206b0
test al, al
je 0x41fa9b
lea eax, [esp + 0xac]
push eax
call fcn.0041afc0
add esp, 4
mov byte [esp + 0x290], 1
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call edx
call fcn.0041b310
lea ecx, [esp + 0xac]
call fcn.00420770
lea ecx, [esp + 0x28]
call fcn.0040dad0
lea eax, [esp + 0xac]
call fcn.0041b310
call fcn.0041b110
lea ecx, [esp + 0xac]
mov byte [esp + 0x290], 0
call fcn.0040dad0
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
mov ecx, edi
call edx
sub eax, 2
je 0x41fb5a
sub eax, 2
jne 0x41fb8d
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
push str.ZIPRES
mov ecx, edi
call edx
push eax
call fcn.0041b0b0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x41fc65
push esi
call fcn.0041b0b0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x14], eax
push esi
test eax, eax
jne 0x41fb00
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x41fc65
call fcn.0041b0b0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x41fc65
push esi
call fcn.004564eb
add esp, 4
mov dword [0x489cb8], eax
test eax, eax
je 0x41fb44
mov eax, dword [esp + 0x14]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [0x489cb8]
push eax
push ecx
call fcn.0045aa90
add esp, 0xc
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call fcn.0041b160
add esp, 4
jmp 0x41fb8d
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call edx
mov byte [esp + 0x290], 2
call fcn.0041b310
mov esi, eax
call fcn.0041b1e0
lea ecx, [esp + 0x28]
mov byte [esp + 0x290], 0
call fcn.0040dad0
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
mov ecx, edi
call edx
lea ecx, [esp + 0x28]
cmp eax, 3
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
push ecx
mov ecx, edi
jne 0x41fbe0
call edx
call fcn.0041b310
push eax
call fcn.004583bc
add esp, 4
lea ecx, [esp + 0x28]
movzx esi, ax
call fcn.0040dad0
push 0
push ebx
lea eax, [edi + 0x28]
push eax
push 0x478000
push esi
lea ecx, [esp + 0x148]
call fcn.00430e60
mov ebx, eax
jmp 0x41fc20
lea esi, [edi + 0x28]
call edx
push 0
push ebx
push esi
push 0
mov byte [esp + 0x2a0], 3
call fcn.0041b310
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x148]
mov dword [esp + 0x24], esp
call fcn.00430e60
lea ecx, [esp + 0x28]
mov ebx, eax
mov byte [esp + 0x290], 0
call fcn.0040dad0
test ebx, ebx
jne 0x41fc3f
push 0x10
push str.Duilib
push 0x4783d4
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea esi, [edi + 0x2c]
mov eax, esi
call fcn.0041ce90
lea eax, [edi + 0x20]
mov ecx, esi
call fcn.0041d730
mov cl, 1
mov eax, esi
call fcn.0041b4e0
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
mov ecx, edi
call edx
lea esi, [esp + 0x134]
call fcn.004333f0
xor eax, eax
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.004567fb
mov esp, ebp
pop ebp
ret 0x10