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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5220a8
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0xfffffffffffffff0
call fcn.00421cf0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, ebx
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.00421cf0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00421cf0
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp - 0x20]
push 0x20
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push edx
push ecx
push 0
mov ecx, ebx
call fcn.00421cf0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx]
lea edi, [ebx + 0x1d0]
mov ecx, ebx
call dword [eax + 0x64]
push eax
push dword [ebx + 4]
mov ecx, edi
call fcn.00438df0
mov ecx, ebx
lea eax, [ebx + 0x24]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, edi
call fcn.00438020
push 0x14c
lea eax, [ebp - 0x1f0]
push 0
push eax
call fcn.004cbbe0
add esp, 0xc
lea ecx, [ebp - 0x1f0]
call fcn.004653c0
mov dword [ebp - 4], 0
call fcn.00438d20
mov ecx, eax
call fcn.004358e0
test al, al
je 0x46a701
push 0x84
lea eax, [ebp - 0xa4]
push 0
push eax
call fcn.004cbbe0
lea eax, [ebp - 0xa4]
push eax
call fcn.00438af0
add esp, 0x10
mov eax, dword [ebx]
lea ecx, [ebp - 0x280]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 1
call dword [eax + 0x50]
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00421810
push eax
lea ecx, [ebp - 0xa4]
call fcn.00434ef0
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 1
call fcn.00434b40
lea ecx, [ebp - 0xa4]
call fcn.00421810
push eax
call fcn.0043e600
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.00434b40
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x54]
sub eax, 2
je 0x46a7cf
sub eax, 2
jne 0x46a831
mov eax, dword [ebx]
lea ecx, [ebp - 0x1fc]
push ecx
mov ecx, ebx
call dword [eax + 0x60]
push 0x52fcc0
push dword [eax]
call fcn.00438d10
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x46a916
push esi
call fcn.00438d10
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1f8], eax
push esi
test eax, eax
jne 0x46a768
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x46a916
call fcn.00438d10
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1f4], eax
test eax, eax
je 0x46a916
mov eax, dword [ebx]
lea ecx, [ebp - 0x280]
push ecx
mov ecx, ebx
call dword [eax + 0x5c]
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00421810
push eax
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0043e650
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x280]
call fcn.00434b40
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x46a831
mov eax, dword [ebx]
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, ebx
call dword [eax + 0x5c]
mov edi, eax
mov edx, dword [ebx]
lea eax, [ebp - 0x280]
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call dword [edx + 0x58]
mov esi, eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00421810
push eax
push 1
mov ecx, esi
call fcn.00421810
push eax
call fcn.0043e6f0
add esp, 0xc
lea ecx, [ebp - 0x280]
call fcn.00434b40
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0
call fcn.00434b40
lea edi, [ebx + 0x1d0]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x54]
lea ecx, [ebp - 0x280]
cmp eax, 3
mov eax, dword [ebx]
push ecx
mov ecx, ebx
jne 0x46a895
call dword [eax + 0x4c]
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00421810
push eax
call fcn.004d4251
add esp, 4
movzx esi, ax
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0
call fcn.00434b40
mov ecx, ebx
lea eax, [ebx + 0x28]
neg ecx
push 0
sbb ecx, ecx
push edi
and ecx, eax
push ecx
push 0x52fcd0
push esi
lea ecx, [ebp - 0x1f0]
call fcn.00466570
mov esi, eax
jmp 0x46a8d5
call dword [eax + 0x4c]
mov edx, ebx
mov byte [ebp - 4], 7
neg edx
lea ecx, [ebx + 0x28]
push 0
sbb edx, edx
push edi
and edx, ecx
mov ecx, eax
push edx
push 0
call fcn.00421810
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp - 0x1f0]
call fcn.00466570
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.00434b40
test esi, esi
jne 0x46a8f4
push 0x10
push str.Duilib
push 0x52fce8
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov ecx, edi
call fcn.00438120
mov edx, ebx
lea eax, [ebx + 0x20]
neg edx
mov ecx, edi
sbb edx, edx
and edx, eax
push edx
call fcn.00437f10
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1f0]
call fcn.00460280
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049be04
mov esp, ebp
pop ebp
ret 0x10