Function at 0x460723
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ffdcc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x100
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x108], edi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x104], 1
cmp eax, 0x7ed
ja 0x46070e
je 0x4606f4
cmp eax, 0x83
ja 0x4605a3
je 0x4607af
dec eax
cmp eax, 0x23
ja case.0x46071c.2031
movzx eax, byte [eax + 0x460b00]
jmp dword [eax*4 + 0x460aec]
push 0x6b
call fcn.00583be7
push 0xfffffffffffffff0
mov ecx, edi
call fcn.00583231
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.00583231
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0
push dword [edi + 4]
lea esi, [edi + 0x1c]
mov ecx, esi
call fcn.0057eaa4
lea eax, [edi + 0x14]
mov ecx, esi
push eax
call fcn.0057e0f5
push 0xb0
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.005d05b0
add esp, 0xc
lea ecx, [ebp - 0x100]
call fcn.00583eec
push 0
push esi
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 4], 0
push 0x630e3c
call fcn.00414030
lea ecx, [ebp - 0x100]
call fcn.00584662
push eax
mov ecx, esi
call fcn.0057e1ab
lea eax, [edi + 0x10]
mov ecx, esi
push eax
call fcn.0057e012
mov ecx, edi
call fcn.0045b730
lea ecx, [ebp - 0x100]
call fcn.00585f52
mov eax, dword [ebp - 0x18]
jmp 0x4604e8
mov eax, dword [ebx + 0xc]
cmp eax, 1
je 0x4603fb
test eax, eax
je 0x4603fb
cmp eax, 6
jne 0x460a99
mov dword [ebp - 0x104], 0
jmp 0x460a99
cmp byte [edi + 0x72c], 0
je 0x460a99
push 0x3bc
mov byte [edi + 0x72c], 0
call fcn.005b86e9
mov esi, eax
add esp, 4
mov dword [ebp - 0x108], esi
push 0x3bc
push 0
push esi
mov dword [ebp - 4], 1
call fcn.005d05b0
add esp, 0xc
mov ecx, esi
call fcn.004b2690
push 0
push 0
push 0
push 0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 4]
push 0
push 0
push 0x96c80000
push 0x62ed7c
mov dword [esi + 0x3a8], ecx
push ecx
mov ecx, esi
mov byte [esi + 0x3a4], 1
mov dword [esi + 0x3ac], 0x62ed7c
mov dword [esi + 0x3b0], 0x630e74
mov dword [esi + 0x3b4], 0x630e5c
mov dword [esi + 0x3b8], 0x630e64
call fcn.005839ea
mov ecx, esi
call fcn.00583889
mov ecx, esi
call fcn.00583c60
jmp 0x460a99
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x10]
lea ecx, [edi + 0x1c]
push dword [ebx + 0xc]
push esi
call fcn.0057ed96
test al, al
jne 0x4607af
push dword [ebx + 0x10]
mov ecx, edi
push dword [ebx + 0xc]
push esi
call fcn.00583a84
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov edi, eax
call esi
mov ecx, dword [ebp - 0x108]
mov esi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x50]
push eax
movups xmmword [ebp - 0x50], xmm0
push 1
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x50], 0x28
movq qword [ebp - 0x30], xmm0
call fcn.00583231
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoA]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00582c2c
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
neg eax
push eax
mov eax, dword [ebp - 0x4c]
neg eax
push eax
call fcn.00583449
mov edx, dword [ebp - 0x20]
cmp edx, edi
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
cmovg edx, edi
mov edi, dword [ebx + 0x10]
cmp ecx, esi
cmovg edx, esi
mov dword [ebp - 0x20], edx
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x14], eax
mov dword [edi + 8], edx
mov dword [edi + 0xc], ecx
mov edi, dword [ebp - 0x108]
jmp case.0x46071c.2031
cmp eax, 0x86
ja 0x460601
je 0x4605d5
sub eax, 0x84
je 0x4605c1
sub eax, 1
je 0x4607af
jmp case.0x46071c.2031
push ecx
push dword [ebx + 0x10]
sub esp, 8
call fcn.0045d5b0
mov dword [ebp - 0x18], eax
jmp 0x4604e8
call fcn.00583231
push eax
call dword [sym.imp.USER32.dll_IsIconic]
mov ecx, dword [ebp - 0x104]
xor edx, edx
test eax, eax
cmovne ecx, edx
xor eax, eax
cmp dword [ebx + 0xc], eax
mov dword [ebp - 0x104], ecx
sete al
jmp 0x460a96
cmp eax, 0x112
je 0x46062b
cmp eax, 0x401
jne case.0x46071c.2031
lea eax, [ebp - 0x104]
push eax
lea eax, [ebx + 0x10]
push eax
sub esp, 8
call fcn.0045ff60
jmp 0x460a96
cmp dword [ebx + 0xc], 0xf060
jne 0x46063e
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x4604e8
call fcn.00583231
mov esi, dword [sym.imp.USER32.dll_IsZoomed]
push eax
call esi
push dword [ebx + 0x10]
mov ecx, edi
mov dword [ebp - 0x108], eax
push dword [ebx + 0xc]
push 0x112
call fcn.00583a84
mov ecx, edi
mov dword [ebp - 0x104], eax
call fcn.00583231
push eax
call esi
mov ecx, dword [ebp - 0x108]
cmp eax, ecx
je 0x4606e6
test ecx, ecx
lea ecx, [edi + 0x1c]
push str.maxbtn
jne 0x4606b4
call fcn.0057e346
test eax, eax
je 0x46069f
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0xe0]
push str.restorebtn
lea ecx, [edi + 0x1c]
call fcn.0057e346
test eax, eax
je 0x4606e6
push 1
jmp 0x4606dc
call fcn.0057e346
test eax, eax
je 0x4606c9
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0xe0]
push str.restorebtn
lea ecx, [edi + 0x1c]
call fcn.0057e346
test eax, eax
je 0x4606e6
push 0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xe0]
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x18], eax
jmp 0x4604e8
lea eax, [ebp - 0x104]
push eax
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
push ecx
call fcn.0045d7c0
jmp 0x460a96
add eax, 0xfffff812
cmp eax, 0x13
ja case.0x46071c.2031
jmp dword [eax*4 + 0x460b24]
mov eax, dword [ebx + 0xc]
cmp eax, 1
jne 0x4607b7
mov byte [edi + 0x80c], 0
call sym.PayClient.exe_curl_global_cleanup
cmp dword [edi + 0x4c0], 0
je 0x460795
mov eax, dword [edi + 0x4a8]
test eax, eax
je 0x460755
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
lea eax, [edi + 0x4ac]
mov dword [edi + 0x4b8], 0
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
test eax, eax
jne 0x460778
mov dword [edi + 0x4c0], eax
mov word [edi + 0x49c], 0
mov dword [edi + 0x4a0], 0
mov dword [edi + 0x4a4], 0x401
push 0x66545c
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [edi + 0x3ac], 0
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0x18]
jmp 0x4604e8
cmp eax, 2
jne 0x4607af
push 0
push dword [edi + 4]
mov byte [edi + 0x72c], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x18]
jmp 0x4604e8
lea eax, [ebp - 0x104]
push eax
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
push ecx
call fcn.0045d960
jmp 0x460a96
lea eax, [ebp - 0x104]
push eax
lea eax, [ebx + 0x10]
push eax
sub esp, 8
call fcn.0045ee20
jmp 0x460a96
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x4a4
call fcn.005b86e9
mov esi, eax
add esp, 4
mov dword [ebp - 0x108], esi
push 0x4a4
push 0
push esi
mov dword [ebp - 4], 2
call fcn.005d05b0
add esp, 0xc
mov ecx, esi
call fcn.0042d420
push 0xffffffffffffffff
push 0
sub esp, 0x18
mov dword [ebp - 4], 0xffffffff
mov ecx, esp
mov dword [ebp - 0x108], esp
mov esi, eax
push 0x660084
call fcn.00405df0
sub esp, 0x18
mov dword [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x104], esp
push 0x6600cc
call fcn.00405df0
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x110], esp
push 0x6600b4
call fcn.00405df0
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
push 4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x630f44
mov byte [ecx], 0
call fcn.00403030
push 0x630f38
push dword [edi + 4]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0042d9c0
push 1
push 1
mov ecx, esi
call fcn.00583d34
mov eax, dword [ebp - 0x18]
jmp 0x4604e8
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x424
call fcn.005b86e9
mov esi, eax
add esp, 4
mov dword [ebp - 0x10c], esi
push 0x424
push 0
push esi
mov dword [ebp - 4], 6
call fcn.005d05b0
add esp, 0xc
mov ecx, esi
call fcn.00438290
push 0xffffffffffffffff
push 0
sub esp, 0x18
mov dword [ebp - 4], 0xffffffff
mov ecx, esp
mov dword [ebp - 0x10c], esp
mov esi, eax
push 1
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x62de70
mov byte [ecx], 0
call fcn.00403030
sub esp, 0x18
mov dword [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x110], esp
push 0x660084
call fcn.00405df0
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x108], esp
push 0x6600cc
call fcn.00405df0
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
push 0x6600b4
call fcn.00405df0
push 0x630f44
push 0x630f58
push dword [edi + 4]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.00438540
push 1
push 1
mov ecx, esi
call fcn.00583d34
mov eax, dword [ebp - 0x18]
jmp 0x4604e8
lea eax, [ebp - 0x104]
push eax
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
push ecx
call fcn.0045ef70
jmp 0x460a96
lea eax, [ebp - 0x104]
push eax
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
push ecx
call fcn.0045f120
jmp 0x460a96
lea eax, [ebp - 0x104]
push eax
lea eax, [ebx + 0x10]
push eax
sub esp, 8
call fcn.0045f2d0
jmp 0x460a96
lea eax, [ebp - 0x104]
push eax
lea eax, [ebx + 0x10]
push eax
sub esp, 8
call fcn.0045f490
jmp 0x460a96
lea eax, [ebp - 0x104]
push eax
lea eax, [ebx + 0x10]
push eax
sub esp, 8
call fcn.0045f650
jmp 0x460a96
lea eax, [ebp - 0x104]
push eax
lea eax, [ebx + 0x10]
push eax
sub esp, 8
call fcn.0045f810
jmp 0x460a96
lea eax, [ebp - 0x104]
push eax
lea eax, [ebx + 0x10]
push eax
sub esp, 8
call fcn.0045f9d0
jmp 0x460a96
lea eax, [ebp - 0x104]
push eax
lea eax, [ebx + 0x10]
push eax
sub esp, 8
call fcn.0045fc50
jmp 0x460a96
lea eax, [ebp - 0x104]
push eax
sub esp, 0xc
call fcn.0046d5b0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x104], 0
jne 0x4607af
jmp case.0x46071c.2031
push ecx
lea eax, [ebx + 0x10]
push eax
sub esp, 8
call fcn.0049bee0
mov dword [ebp - 0x18], eax
jmp 0x4604e8
push ecx
lea eax, [ebx + 0x10]
push eax
sub esp, 8
call fcn.0049d040
mov dword [ebp - 0x18], eax
jmp 0x4604e8
push ecx
lea eax, [ebx + 0x10]
push eax
sub esp, 8
call fcn.0049e2a0
mov dword [ebp - 0x18], eax
jmp 0x4604e8