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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b42dc
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x62c930]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x62c930]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 4]
push 0xfffffffffffffff0
push eax
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]
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov eax, dword [ebx + 4]
push 0x20
sub edx, ecx
push edx
mov edx, dword [esp + 0x1c]
sub esi, edx
push esi
push ecx
push edx
xor edi, edi
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebx + 4]
lea eax, [ebx + 0x2c]
push ecx
call fcn.0043d980
lea eax, [ebx + 0x24]
cmp eax, edi
je 0x44532a
push eax
lea esi, [ebx + 0x2fc]
call fcn.00443da0
mov dword [esp + 0x134], edi
mov dword [esp + 0x138], edi
mov dword [esp + 0x13c], edi
mov byte [esp + 0x270], 1
mov dword [esp + 0x274], edi
mov dword [esp + 0x278], edi
mov dword [esp + 0x290], edi
mov ecx, dword [0x62e978]
push 0xffffffffffffffff
lea edx, [esp + 0xb4]
xor eax, eax
push ecx
lea esi, [esp + 0xb4]
mov dword [esp + 0xb4], edx
mov word [esp + 0xb8], ax
call fcn.00444050
mov byte [esp + 0x290], 1
mov edx, dword [esp + 0xac]
cmp word [edx], di
jne 0x4453fe
lea edi, [esp + 0x28]
call fcn.0043da00
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
call fcn.00444050
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x4453c5
push eax
call fcn.0058622f
add esp, 4
mov edx, dword [ebx]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call edx
mov eax, dword [eax]
test eax, eax
je 0x4453e7
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.00443f10
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x4453fc
push eax
call fcn.0058622f
add esp, 4
xor edi, edi
mov eax, dword [esp + 0xac]
call fcn.0043db60
mov edx, dword [ebx]
mov eax, dword [edx + 0x2c]
mov ecx, ebx
call eax
sub eax, 2
je 0x44550c
sub eax, 2
jne 0x445546
cmp dword [0x635744], edi
jne 0x445546
mov esi, dword [0x635738]
cmp esi, edi
jne 0x445441
mov esi, dword [0x635740]
mov edx, dword [ebx]
mov eax, dword [edx + 0x34]
push 0x603fcc
mov ecx, ebx
call eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x445489
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0xb0]
cmp eax, ecx
je 0x445478
push eax
call fcn.0058622f
add esp, 4
lea esi, [esp + 0x134]
call fcn.00453520
jmp 0x445677
mov eax, dword [0x635738]
cmp eax, edi
jne 0x445497
mov eax, dword [0x635740]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4454b7
mov eax, dword [esp + 0xac]
lea edx, [esp + 0xb0]
cmp eax, edx
jmp 0x44546d
mov eax, dword [0x635738]
test eax, eax
jne 0x4454c5
mov eax, dword [0x635740]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [0x635748], eax
test eax, eax
je 0x44545d
push eax
call fcn.005759c5
add esp, 4
mov dword [0x635744], eax
test eax, eax
je 0x445505
mov edx, dword [0x635748]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov eax, dword [0x635744]
push eax
call fcn.00588160
add esp, 0xc
call fcn.0043dbf0
jmp 0x445546
mov edx, dword [ebx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call edx
mov byte [esp + 0x290], 2
mov ecx, dword [eax]
call fcn.0043dca0
mov byte [esp + 0x290], 1
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x445546
push eax
call fcn.0058622f
add esp, 4
mov edx, dword [ebx]
mov eax, dword [edx + 0x2c]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x24]
cmp eax, 3
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
jne 0x4455a5
call edx
mov eax, dword [eax]
push eax
call fcn.005839bc
movzx edi, ax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
add esp, 4
cmp eax, ecx
je 0x445585
push eax
call fcn.0058622f
add esp, 4
push 0
lea esi, [ebx + 0x2c]
push esi
lea eax, [ebx + 0x28]
push eax
push 0x609928
push edi
lea ecx, [esp + 0x148]
call fcn.00449030
mov edi, eax
jmp 0x4455f1
lea edi, [ebx + 0x28]
call edx
push 0
lea esi, [ebx + 0x2c]
push esi
push edi
push 0
push ecx
mov byte [esp + 0x2a4], 3
mov eax, dword [eax]
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x148]
mov dword [esp + 0x38], esp
call fcn.00449030
mov edi, eax
mov byte [esp + 0x290], 1
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x4455f1
push eax
call fcn.0058622f
add esp, 4
test edi, edi
jne 0x445610
push 0x10
push str.Duilib
push 0x609940
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
mov edi, esi
call fcn.00440a60
lea eax, [ebx + 0x20]
test eax, eax
je 0x44562b
push eax
lea esi, [ebx + 0x2e4]
call fcn.00443da0
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
mov ecx, ebx
call eax
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0xb0]
cmp eax, ecx
je 0x44564f
push eax
call fcn.0058622f
add esp, 4
mov eax, dword [esp + 0x134]
test eax, eax
je 0x445663
push eax
call fcn.0058622f
add esp, 4
mov eax, dword [esp + 0x138]
test eax, eax
je 0x445677
push eax
call fcn.0058622f
add esp, 4
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.005832f8
mov esp, ebp
pop ebp
ret 0x10