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

Disassembly:
push 0x2ec
mov eax, 0x594d49
call fcn.00558f31
mov edi, ecx
push 0xfffffffffffffff0
call fcn.0043a3a0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.0043a3a0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.0043a3a0
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x14]
mov ecx, edi
sub eax, dword [ebp - 0x1c]
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 0
call fcn.0043a3a0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push dword [edi + 4]
lea ebx, [edi + 0x2c]
mov ecx, ebx
call fcn.0045bac1
lea eax, [edi + 0x24]
mov ecx, ebx
push eax
call fcn.0045b0eb
lea ecx, [ebp - 0x270]
call fcn.004729ee
and dword [ebp - 4], 0
call fcn.0045ba86
push eax
lea ecx, [ebp - 0xa4]
call fcn.004594c8
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
call fcn.00459d2d
test al, al
je 0x462c07
lea eax, [ebp - 0x128]
push eax
call fcn.0045b88d
pop ecx
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.0045961b
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.004595b0
mov eax, dword [edi]
lea ecx, [ebp - 0x128]
push ecx
mov ecx, edi
call dword [eax + 0x20]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00459bd0
push eax
lea ecx, [ebp - 0xa4]
call fcn.004597ba
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.004595b0
lea ecx, [ebp - 0xa4]
call fcn.00459bd0
push eax
call fcn.0045f6c5
mov eax, dword [edi]
pop ecx
mov ecx, edi
call dword [eax + 0x2c]
dec eax
dec eax
je 0x462cd2
dec eax
dec eax
jne 0x462d04
mov eax, dword [edi]
mov ecx, edi
push 0x59f560
call dword [eax + 0x34]
push eax
call fcn.0045ba77
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x462dea
push esi
call fcn.0045ba77
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x2f8], eax
push esi
test eax, eax
jne 0x462c76
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x462dea
call fcn.0045ba77
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x462dea
push ebx
call fcn.005403e7
mov dword [0x615e98], eax
pop ecx
test eax, eax
je 0x462cb8
push ebx
push dword [ebp - 0x2f8]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x615e98]
call fcn.00555d00
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push ebx
push dword [0x615e98]
call fcn.0045f70e
pop ecx
pop ecx
lea ebx, [edi + 0x2c]
jmp 0x462d04
mov eax, dword [edi]
lea ecx, [ebp - 0x128]
push ecx
mov ecx, edi
call dword [eax + 0x30]
push 1
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00459bd0
push eax
call fcn.0045f772
pop ecx
pop ecx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.004595b0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp eax, 3
mov eax, dword [edi]
jne 0x462d6c
lea ecx, [ebp - 0x128]
push ecx
mov ecx, edi
call dword [eax + 0x24]
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00459bd0
push eax
call fcn.00557dc3
pop ecx
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00459583
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.004595b0
push 0
push ebx
lea eax, [edi + 0x28]
push eax
push 0x59f570
push dword [ebp - 0x2f8]
lea ecx, [ebp - 0x270]
call fcn.0047315b
mov esi, eax
jmp 0x462db1
lea ecx, [ebp - 0x2f4]
push ecx
mov ecx, edi
lea esi, [edi + 0x28]
call dword [eax + 0x24]
push 0
push ebx
push esi
push 0
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00459bd0
push ecx
mov ecx, esp
push eax
call fcn.00459594
lea ecx, [ebp - 0x270]
call fcn.0047315b
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.004595b0
test esi, esi
jne 0x462dd0
push 0x10
push str.Duilib
push 0x59f588
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.0045b1a1
lea eax, [edi + 0x20]
mov ecx, ebx
push eax
call fcn.0045b008
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.004595b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.00471c46
xor eax, eax
call fcn.00558ee0
ret 0x10