Function at 0x431f50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48c569
mov eax, dword fs:[0]
push eax
sub esp, 0x140
push ebx
push esi
push edi
mov eax, dword [0x4a4100]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov eax, dword [ebp + 8]
lea esi, [esp + 0x1c]
call fcn.0042f5c0
xor edi, edi
mov dword [esp + 0x158], edi
cmp dword [0x4aab8c], edi
je 0x432098
push 1
xor eax, eax
mov esi, 7
push 0x492a90
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edi
mov word [esp + 0x30], ax
call fcn.00405fe0
mov byte [esp + 0x158], 1
mov eax, dword [esp + 0x1c]
cmp dword [eax - 4], 1
jle 0x431ff0
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x20]
call fcn.004028f0
mov eax, dword [esp + 0x1c]
xor edx, edx
mov word [esp + 0x44], dx
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x432002
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x48]
call fcn.00405fe0
mov byte [esp + 0x158], 2
mov ecx, dword [0x4aab8c]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push 2
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x48]
push eax
call edx
cmp dword [esp + 0x58], 8
jb 0x432055
mov eax, dword [esp + 0x44]
push eax
call fcn.0046f011
add esp, 4
xor ecx, ecx
mov byte [esp + 0x158], cl
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], edi
mov word [esp + 0x44], cx
jb 0x43207f
mov edx, dword [esp + 0x28]
push edx
call fcn.0046f011
add esp, 4
xor eax, eax
mov word [esp + 0x28], ax
mov eax, dword [0x4aab8c]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
call fcn.004048e0
mov eax, dword [esp + 0x1c]
mov ecx, 0x492924
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4320c7
cmp dx, di
je 0x4320c3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4320c7
add eax, 4
add ecx, 4
cmp dx, di
jne 0x4320a1
xor eax, eax
jmp 0x4320cc
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
sete al
test al, al
je 0x4321b5
push 3
lea ecx, [ebx + 0xd8]
push 0x492924
call fcn.00402640
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.HotKeySetup
call fcn.0040b010
mov edi, ebx
call fcn.0043a030
mov esi, eax
cmp byte [esi + 0x4c], 0
je 0x43211d
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
mov byte [esi + 0x4c], 0
call eax
call fcn.0043c330
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Toolmanaual
call fcn.0040b010
call fcn.0043a030
cmp byte [eax + 0x4c], 1
je 0x432144
mov esi, eax
mov byte [eax + 0x4c], 1
call fcn.0043c330
mov ecx, dword [ebx + 0xf0]
lea esi, [ebx - 0x24]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebx + 0xcc]
mov eax, dword [ebx + 0xc4]
mov ecx, dword [ebx + 0xf0]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00432ac0
cmp dword [ebx + 0xd4], 0
je 0x432646
mov edx, dword [ebx - 0x20]
push 0
push 0
push 0x12
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x493d48
call fcn.0040b010
mov edi, ebx
call fcn.0043a030
xor dl, dl
mov ecx, eax
call fcn.0043c390
jmp 0x432646
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x493d48
call fcn.00402400
add esp, 4
test al, al
je 0x43223a
cmp dword [ebx + 0xd4], edi
je 0x432646
mov ecx, dword [ebx - 0x20]
push edi
push edi
push 0x12
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x48]
test al, 0xf
je 0x432214
cmp eax, edi
jbe 0x43222a
cmp eax, 2
jbe 0x4321fd
cmp eax, 4
jne 0x43222a
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
mov dword [ecx + 0x48], 8
mov eax, dword [ecx + 0x48]
push eax
call edx
jmp 0x432646
cmp eax, 0x10
je 0x432223
cmp eax, 0x20
je 0x432223
cmp eax, 0x40
jne 0x43222a
mov dword [ecx + 0x48], 0x80
mov edx, dword [ecx]
mov eax, dword [ecx + 0x48]
mov edx, dword [edx + 0x2c]
push eax
call edx
jmp 0x432646
lea eax, [esp + 0x1c]
push eax
mov ecx, str.HotKey
call fcn.00402400
add esp, 4
test al, al
je 0x43239d
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.HotKeySetup
call fcn.0040b010
mov edi, ebx
call fcn.0043a030
cmp byte [eax + 0x4c], 0
jne 0x432646
cmp dword [ebx + 0xd4], 0
je 0x4322ae
mov ecx, dword [ebx - 0x20]
push 0
push 0
push 0x12
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x493d48
call fcn.0040b010
call fcn.0043a030
xor dl, dl
mov ecx, eax
call fcn.0043c390
mov ecx, dword [ebx + 0xcc]
mov eax, dword [ebx + 0xc4]
mov edx, dword [ebx + 0xf0]
push ecx
push eax
mov dword [ebx + 0xd0], ecx
lea esi, [ebx - 0x24]
push edx
mov ecx, esi
mov dword [ebx + 0xc8], eax
mov dword [ebx + 0xf8], 1
call fcn.00432ac0
push esi
mov bl, 1
call fcn.00433ad0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.HotKeyOk
xor ebx, ebx
call fcn.0040b010
mov esi, dword [esp + 0x18]
mov edi, esi
call fcn.0043a030
mov dl, bl
mov ecx, eax
call fcn.0043c390
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.SetupTips
call fcn.0040b010
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.SetupCtrl
mov byte [esp + 0x164], 3
call fcn.0040b010
call fcn.0043a030
mov edi, eax
mov byte [esp + 0x15c], bl
call fcn.0043c540
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.SaveHotKeyOkTips
mov dword [eax + 0x30], 0xffffffff
call fcn.0040b010
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.SetupCtrl
mov byte [esp + 0x164], 4
call fcn.0040b010
mov edi, esi
call fcn.0043a030
mov edi, eax
mov byte [esp + 0x15c], bl
call fcn.0043c540
mov dword [eax + 0x30], ebx
jmp 0x432646
lea eax, [esp + 0x1c]
push eax
mov ecx, str.HotKeyOk
call fcn.00402400
add esp, 4
test al, al
je 0x432605
mov eax, dword [ebx + 0xc8]
mov byte [esp + 0x1b], 0
cmp eax, dword [ebx + 0xc4]
jne 0x4323dc
mov ecx, dword [ebx + 0xd0]
cmp ecx, dword [ebx + 0xcc]
je 0x43256b
cmp eax, edi
je 0x432646
mov edx, dword [ebx + 0xe0]
mov eax, dword [ebx - 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_UnregisterHotKey]
mov ecx, dword [ebx + 0xd0]
mov edx, dword [ebx + 0xc8]
mov eax, dword [ebx + 0xe0]
mov edi, dword [sym.imp.USER32.dll_RegisterHotKey]
push ecx
mov ecx, dword [ebx - 0x20]
push edx
push eax
push ecx
call edi
test eax, eax
je 0x43243f
mov eax, dword [ebx + 0xc8]
mov edx, dword [ebx + 0xd0]
mov dword [ebx + 0xc4], eax
lea eax, [ebx - 0x24]
mov dword [ebx + 0xcc], edx
call fcn.004330d0
jmp 0x43256b
cmp dword [0x4aab8c], 0
je 0x4324b1
push 0x492a90
lea ecx, [esp + 0x44]
call fcn.00404460
push str.SnapshotError
lea ecx, [esp + 0x28]
mov byte [esp + 0x15c], 5
call fcn.00404460
mov byte [esp + 0x158], 6
mov ecx, dword [0x4aab8c]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push 2
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x2c]
push eax
call edx
lea ecx, [esp + 0x24]
call fcn.00406360
lea ecx, [esp + 0x40]
mov byte [esp + 0x158], 0
call fcn.00406360
mov eax, dword [0x4aab8c]
call fcn.004048e0
lea eax, [esp + 0x5c]
push eax
call fcn.0042fc10
push ecx
mov byte [esp + 0x15c], 7
mov esi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x493b4c
call fcn.0040b010
call fcn.0043f3b0
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Snapshot
mov byte [esp + 0x164], 8
call fcn.0040b010
lea ecx, [esp + 0x64]
mov byte [esp + 0x160], 7
call fcn.00430340
cmp eax, 1
jne 0x432534
mov ecx, dword [ebx + 0xd0]
mov edx, dword [ebx + 0xc8]
mov byte [esp + 0x1b], al
lea eax, [ebx - 0x24]
mov dword [ebx + 0xcc], ecx
mov dword [ebx + 0xc4], edx
call fcn.004330d0
jmp 0x43254f
mov eax, dword [ebx + 0xcc]
mov ecx, dword [ebx + 0xc4]
mov edx, dword [ebx + 0xe0]
push eax
mov eax, dword [ebx - 0x20]
push ecx
push edx
push eax
call edi
lea eax, [esp + 0x5c]
mov byte [esp + 0x158], 0
call fcn.0042fcb0
cmp byte [esp + 0x1b], 0
je 0x432646
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.SetupTips
call fcn.0040b010
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.SetupCtrl
mov byte [esp + 0x164], 9
call fcn.0040b010
mov edi, ebx
call fcn.0043a030
mov edi, eax
mov byte [esp + 0x15c], 0
call fcn.0043c540
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.SaveHotKeyOkTips
mov dword [eax + 0x30], 0
call fcn.0040b010
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.SetupCtrl
mov byte [esp + 0x164], 0xa
call fcn.0040b010
mov edi, ebx
call fcn.0043a030
mov edi, eax
mov byte [esp + 0x15c], 0
call fcn.0043c540
mov ecx, dword [ebp + 8]
xor dl, dl
mov dword [eax + 0x30], 0xffffffff
call fcn.0043c390
jmp 0x432646
lea ecx, [esp + 0x1c]
push ecx
mov ecx, str.HotKeyCancel
call fcn.00402400
add esp, 4
test al, al
je 0x432646
lea esi, [ebx - 0x24]
push esi
xor bl, bl
call fcn.00433ad0
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xcc]
mov ecx, dword [eax + 0xc4]
push edx
mov edx, dword [eax + 0xf0]
push ecx
push edx
mov ecx, esi
call fcn.00432ac0
mov dword [esp + 0x158], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432671
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4