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

Disassembly:
push 0x2ec
mov eax, 0x5f5c18
call fcn.005bb551
mov edi, ecx
push 0xfffffffffffffff0
call fcn.004215c0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.004215c0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.004215c0
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.004215c0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push dword [edi + 4]
lea ebx, [edi + 0x2c]
mov ecx, ebx
call fcn.0044a4f8
lea eax, [edi + 0x24]
mov ecx, ebx
push eax
call fcn.00449b1b
lea ecx, [ebp - 0x270]
call fcn.00461423
and dword [ebp - 4], 0
call fcn.0044a4bd
push eax
lea ecx, [ebp - 0xa4]
call fcn.00447ef8
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
call fcn.0044875d
test al, al
je 0x45164a
lea eax, [ebp - 0x128]
push eax
call fcn.0044a2c4
pop ecx
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.0044804b
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.00447fe0
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.00448600
push eax
lea ecx, [ebp - 0xa4]
call fcn.004481ea
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.00447fe0
lea ecx, [ebp - 0xa4]
call fcn.00448600
push eax
call fcn.0044e0fc
mov eax, dword [edi]
pop ecx
mov ecx, edi
call dword [eax + 0x2c]
dec eax
dec eax
je 0x451715
dec eax
dec eax
jne 0x451747
mov eax, dword [edi]
mov ecx, edi
push 0x60a720
call dword [eax + 0x34]
push eax
call fcn.0044a4ae
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x45182d
push esi
call fcn.0044a4ae
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x2f8], eax
push esi
test eax, eax
jne 0x4516b9
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x45182d
call fcn.0044a4ae
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x45182d
push ebx
call fcn.005a2805
mov dword [0x68f090], eax
pop ecx
test eax, eax
je 0x4516fb
push ebx
push dword [ebp - 0x2f8]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x68f090]
call fcn.005b8230
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push ebx
push dword [0x68f090]
call fcn.0044e145
pop ecx
pop ecx
lea ebx, [edi + 0x2c]
jmp 0x451747
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.00448600
push eax
call fcn.0044e1a9
pop ecx
pop ecx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.00447fe0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp eax, 3
mov eax, dword [edi]
jne 0x4517af
lea ecx, [ebp - 0x128]
push ecx
mov ecx, edi
call dword [eax + 0x24]
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00448600
push eax
call fcn.005ba3e7
pop ecx
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00447fb3
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.00447fe0
push 0
push ebx
lea eax, [edi + 0x28]
push eax
push 0x60a730
push dword [ebp - 0x2f8]
lea ecx, [ebp - 0x270]
call fcn.00461b71
mov esi, eax
jmp 0x4517f4
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.00448600
push ecx
mov ecx, esp
push eax
call fcn.00447fc4
lea ecx, [ebp - 0x270]
call fcn.00461b71
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.00447fe0
test esi, esi
jne 0x451813
push 0x10
push str.Duilib
push 0x60a748
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.00449bd1
lea eax, [edi + 0x20]
mov ecx, ebx
push eax
call fcn.00449a38
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.00447fe0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.0046067b
xor eax, eax
call fcn.005bb500
ret 0x10