Function at 0x46f210
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5dd7
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x624500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xe0], edi
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [edi]
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, edi
lea esi, [edi + 0x34]
mov eax, dword [eax + 0x4c]
call eax
mov ecx, esi
push dword [eax + 4]
push dword [eax]
push dword [edi + 4]
call fcn.00474b40
mov ecx, edi
lea eax, [edi + 0x28]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, esi
call fcn.00473360
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
lea ecx, [ebp - 0xd8]
call fcn.004960e0
mov eax, dword [edi]
lea ecx, [ebp - 0x140]
push ecx
mov ecx, edi
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x44]
call eax
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x4c]
push eax
call fcn.0040619f
add esp, 0xc
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x138], 0
mov byte [ebp - 0x11c], 0
cmp dword [ebp - 0x3c], 0
lea ecx, [ebp - 0xf8]
mov eax, dword [edi]
push ecx
mov byte [ebp - 4], 2
mov ecx, edi
mov eax, dword [eax + 0x48]
je 0x46f463
call eax
mov ecx, eax
xor esi, esi
mov dword [ebp - 0xe4], ecx
mov eax, dword [ecx + 4]
mov dword [ebp - 0xec], eax
test eax, eax
je 0x46f32e
mov ecx, dword [ecx]
cmp word [ecx], 0x2d
jne 0x46f32e
mov cl, 1
jmp 0x46f330
xor cl, cl
movzx edx, cl
mov byte [ebp - 0xd9], cl
cmp eax, edx
jbe 0x46f386
mov eax, dword [ebp - 0xe4]
xor ecx, ecx
mov edi, dword [ebp - 0xec]
mov eax, dword [eax]
lea esi, [eax + edx*2]
movzx eax, word [esi]
add eax, 0xffffffd0
cmp ax, 9
ja 0x46f370
movzx eax, word [esi]
lea ecx, [ecx + ecx*4]
inc edx
lea ecx, [ecx - 0x18]
add esi, 2
lea ecx, [eax + ecx*2]
cmp edx, edi
jb 0x46f350
mov eax, dword [ebp - 0xec]
mov esi, ecx
mov edi, dword [ebp - 0xe0]
cmp eax, edx
mov dword [ebp - 0xe8], ecx
jb 0x46f63c
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax]
lea eax, [eax + edx*2]
mov edx, dword [ebp - 0xe4]
mov dword [edx], eax
mov eax, esi
neg eax
mov dword [edx + 4], ecx
cmp byte [ebp - 0xd9], 0
mov byte [ebp - 0x14], 0
cmove eax, esi
mov dword [ebp - 0x30], eax
mov ecx, edi
lea eax, [edi + 0x2c]
neg ecx
lea edx, [edi + 0x34]
push 0
sbb ecx, ecx
and ecx, eax
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 8
push edx
cmovae eax, dword [ebp - 0x4c]
push ecx
push dword [ebp - 0x3c]
push eax
sub esp, 0x20
mov eax, esp
mov dword [ebp - 0xec], eax
mov byte [eax + 0x1c], 0xff
mov cl, byte [ebp - 0x14]
mov byte [ebp - 4], 4
test cl, cl
js 0x46f41d
mov dword [ebp - 0xe0], eax
movsx eax, cl
lea ecx, [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0x30]
push ecx
mov eax, dword [eax*4 + 0x5d0d68]
call eax
add esp, 8
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 3
call fcn.00497960
mov esi, eax
mov al, byte [ebp - 0x14]
mov byte [ebp - 4], 5
test al, al
js 0x46f45a
movsx ecx, al
mov byte [ebp - 0xd9], 0
mov eax, dword [ecx*4 + 0x5d0d70]
lea ecx, [ebp - 0xd9]
push ecx
lea ecx, [ebp - 0x30]
push ecx
call eax
add esp, 8
mov byte [ebp - 0x14], 0xff
jmp 0x46f54a
call eax
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x2c]
push eax
call fcn.0040619f
add esp, 0xc
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x118]
call fcn.0040b8db
mov byte [ebp - 0xfc], 1
lea ecx, [ebp - 0x2c]
call fcn.00405f7b
mov ecx, edi
lea eax, [edi + 0x2c]
neg ecx
push 0
sbb ecx, ecx
push esi
and ecx, eax
push ecx
sub esp, 8
mov eax, esp
sub esp, 0x20
mov dword [eax], 0x5fcdf8
mov dword [eax + 4], 0
mov eax, esp
mov dword [ebp - 0xec], eax
mov byte [eax + 0x1c], 0xff
mov cl, byte [ebp - 0xfc]
mov byte [ebp - 4], 9
test cl, cl
js 0x46f500
mov dword [ebp - 0xe0], eax
movsx eax, cl
lea ecx, [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0x118]
push ecx
mov eax, dword [eax*4 + 0x5d0d68]
call eax
add esp, 8
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 8
call fcn.00497960
mov esi, eax
mov al, byte [ebp - 0xfc]
mov byte [ebp - 4], 0xa
test al, al
js 0x46f543
movsx eax, al
lea ecx, [ebp - 0xd9]
push ecx
lea ecx, [ebp - 0x118]
mov byte [ebp - 0xd9], 0
push ecx
mov eax, dword [eax*4 + 0x5d0d70]
call eax
add esp, 8
mov byte [ebp - 0xfc], 0xff
mov byte [ebp - 4], 2
test esi, esi
jne 0x46f5a5
push dword [0x625120]
lea ecx, [ebp - 0x2c]
push 0x5d0d20
call fcn.0040625b
mov eax, dword [edi]
lea ecx, [ebp - 0xf8]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0xb
mov eax, dword [eax + 0x48]
call eax
lea ecx, [ebp - 0x2c]
push dword [eax + 4]
push dword [eax]
call fcn.0046e6a0
push 0x10
push str.Duilib
lea ecx, [ebp - 0x2c]
call fcn.004098a5
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
lea ecx, [edi + 0x34]
call fcn.004734a0
mov edx, edi
lea eax, [edi + 0x24]
neg edx
lea ecx, [edi + 0x34]
sbb edx, edx
and edx, eax
push edx
call fcn.00473230
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov al, byte [ebp - 0x11c]
mov byte [ebp - 4], 0xc
test al, al
js 0x46f5fb
movsx eax, al
lea ecx, [ebp - 0xd9]
push ecx
lea ecx, [ebp - 0x138]
mov byte [ebp - 0xd9], 0
push ecx
mov eax, dword [eax*4 + 0x5d0d70]
call eax
add esp, 8
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x11c], 0xff
call fcn.00405f7b
lea ecx, [ebp - 0x6c]
call fcn.00405f7b
lea ecx, [ebp - 0xd8]
call fcn.00494460
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00539e65
mov esp, ebp
pop ebp
ret 0x10
call fcn.0046fd00
int3