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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45ae12
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x474cb0]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x474cb0]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
push 0xfffffffffffffff0
mov esi, ecx
call fcn.004292a5
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
mov ecx, esi
call fcn.004292a5
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.004292a5
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 ecx, esi
call fcn.004292a5
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 4]
lea edi, [esi + 0x1c]
push eax
mov ecx, edi
call fcn.0041b10d
lea eax, [esi + 0x14]
push eax
mov ecx, edi
call fcn.0041b939
lea ecx, [esp + 0x134]
call fcn.0041eb04
mov dword [esp + 0x290], 0
lea ecx, [esp + 0xac]
push ecx
call fcn.0041b135
add esp, 4
mov byte [esp + 0x290], 1
mov edx, dword [esi]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call edx
mov byte [esp + 0x290], 2
mov ecx, eax
call fcn.0041a962
push eax
lea ecx, [esp + 0xb0]
call fcn.0041a9bc
mov byte [esp + 0x290], 1
lea ecx, [esp + 0x28]
call fcn.0041a812
lea ecx, [esp + 0xac]
call fcn.0041a962
push eax
call fcn.0041b273
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
add esp, 4
mov ecx, esi
call edx
sub eax, 2
je 0x40283b
sub eax, 2
jne 0x402874
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push str.WDKJ001
mov ecx, esi
call edx
push eax
call fcn.0041b242
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4027a8
push ebx
call fcn.0041b242
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x14], eax
push ebx
test eax, eax
jne 0x4027d8
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov byte [esp + 0x290], 0
lea ecx, [esp + 0xac]
call fcn.0041a812
mov dword [esp + 0x290], 0xffffffff
lea ecx, [esp + 0x134]
call fcn.00402cb0
jmp 0x402931
call fcn.0041b242
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4027a8
push eax
call fcn.00446245
add esp, 4
mov dword [0x4773a0], eax
test eax, eax
je 0x40281e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [0x4773a0]
push eax
push edx
call fcn.004479a0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4773a0]
push eax
push ecx
call fcn.0041b2b9
add esp, 8
jmp 0x402874
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call edx
mov byte [esp + 0x290], 3
push 1
mov ecx, eax
call fcn.0041a962
push eax
call fcn.0041b319
add esp, 8
mov byte [esp + 0x290], 1
lea ecx, [esp + 0x28]
call fcn.0041a812
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
lea ebx, [esi + 0x18]
call edx
mov byte [esp + 0x290], 4
push 0
push edi
push ebx
push 0
mov ecx, eax
call fcn.0041a962
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x148]
mov dword [esp + 0x28], esp
call fcn.0041f32c
mov ebx, eax
mov byte [esp + 0x290], 1
lea ecx, [esp + 0x28]
call fcn.0041a812
test ebx, ebx
jne 0x4028e1
push 0x10
push str.Duilib
push 0x468654
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebx
mov ecx, edi
call fcn.0041e3b8
lea eax, [esi + 0x10]
push eax
mov ecx, edi
call fcn.0041b8f0
push 1
mov ecx, edi
call fcn.0041b552
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
mov byte [esp + 0x290], 0
lea ecx, [esp + 0xac]
call fcn.0041a812
mov dword [esp + 0x290], 0xffffffff
lea ecx, [esp + 0x134]
call fcn.004203db
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.004462cb
mov esp, ebp
pop ebp
ret 0x10