Function at 0x4600b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505d65
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x78], esi
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x74], 1
jne 0x46066b
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
jne 0x4601b4
push dword [0x522b24]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [esi - 4]
call fcn.00461de0
cmp dword [esi + 0x34], 0
je 0x460139
push 0
push 0
lea ecx, [esi - 4]
call fcn.0045c630
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
mov eax, ecx
neg eax
mov dword [esi + 0x32c], ecx
sbb eax, eax
and eax, 0x10301
mov dword [esi + 0x330], eax
mov eax, ecx
neg eax
mov dword [esi + 0x338], 0
mov dword [esi + 0x31c], ecx
sbb eax, eax
and eax, 0x4fd
mov dword [esi + 0x320], eax
mov dword [esi + 0x328], 0
cmp dword [esi + 0x34], 0
je 0x4601a2
push 0x53
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x74], 0
mov dword [eax], 0
jmp 0x460665
cmp eax, 0xf
jne 0x460326
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x60]
push ecx
push eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov edi, eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x68], edi
push 0x227
push dword [0x56d9e4]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov esi, eax
mov dword [ebp - 0x7c], esi
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
test esi, esi
je 0x46028b
lea eax, [ebp - 0x98]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x46028b
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push edi
push dword [ebp - 0x90]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x94]
push 0
push 0
push dword [ebp - 0x70]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x14]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
test edi, edi
je 0x460288
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, dword [ebp - 0x70]
mov edx, dword [ebp - 0x78]
cmp dword [edx + 0x3f0], 0
jne 0x4602ec
mov eax, dword [edx + 0x54]
lea ecx, [edx + 0x304]
sub eax, dword [edx + 0x4c]
mov dword [ecx + 0x12c], eax
lea eax, [ebp - 0x18]
push eax
push dword [edx + 0x28]
mov dword [ebp - 0x18], 0
push edi
mov dword [ebp - 0x14], 0
call fcn.0045f7e0
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 0x53c]
sub eax, dword [edx + 0x538]
sar eax, 5
test eax, eax
je 0x4602ec
push 0
push 0x64
push 2
push dword [edx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [ebp - 0x78]
lea eax, [edx + 0x4c]
push eax
push edi
lea ecx, [edx + 0x304]
call fcn.0045dd90
test esi, esi
je 0x460307
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_EndPaint]
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x74], 0
mov dword [eax], 0
jmp 0x460665
cmp eax, 0x113
jne 0x46034f
cmp edi, 2
jne 0x460340
lea ecx, [esi + 0x304]
call fcn.0045f620
mov ecx, dword [ebp - 0x6c]
cmp dword [ebp - 0x74], 0
mov dword [ecx], 0
jmp 0x460665
cmp eax, 0x83
jne 0x460399
test edi, edi
je 0x460389
mov eax, dword [edx + 0x10]
mov dword [edx + 0x20], eax
mov eax, dword [edx + 0x14]
mov dword [edx + 0x24], eax
mov eax, dword [edx + 0x18]
mov dword [edx + 0x28], eax
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x2c], eax
mov eax, dword [edx]
mov dword [edx + 0x10], eax
mov eax, dword [edx + 4]
mov dword [edx + 0x14], eax
mov eax, dword [edx + 8]
mov dword [edx + 0x18], eax
mov eax, dword [edx + 0xc]
mov dword [edx + 0x1c], eax
mov dword [ecx], 0
mov eax, 1
jmp 0x46066d
cmp eax, 2
jne 0x4603d5
mov eax, dword [esi + 0x18]
push 2
mov dword [eax + 0x20], 1
mov eax, dword [esi + 0x18]
mov dword [eax + 0x20], 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp - 0x6c]
mov dword [0x56cfd8], 0
mov dword [eax], 0
jmp 0x46065e
cmp eax, 0x111
jne 0x460496
movzx eax, di
mov ecx, 0x234
shr edi, 0x10
mov dword [ebp - 0x14], eax
cmp cx, ax
jne 0x460421
mov eax, dword [esi - 4]
lea edx, [ebp - 0x74]
push edx
mov edx, dword [ebp - 0x70]
lea ecx, [esi - 4]
push edx
mov eax, dword [eax + 0x24]
push 0x234
push edi
call eax
cmp dword [ebp - 0x74], 0
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
jne 0x46038f
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x14]
mov ecx, 0x235
cmp cx, ax
jne 0x46044f
push 1
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
mov dword [ebp - 0x70], 1
call dword [eax + 0x28]
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x70], 0
mov dword [eax], 0
jmp 0x460665
mov ecx, 0x236
cmp cx, ax
jne 0x46045d
push 2
jmp 0x46042d
mov ecx, 0x234
cmp cx, ax
jne 0x46066b
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea esi, [ebp - 0x70]
mov dword [ebp - 0x70], 1
push esi
push edx
mov eax, dword [eax + 0x24]
push 0x234
push edi
call eax
mov ecx, dword [ebp - 0x6c]
cmp dword [ebp - 0x70], 0
mov dword [ecx], eax
jmp 0x460665
cmp eax, 0x20
jne 0x4604fe
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [eax + 0x20], 1
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x80]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x80]
push eax
lea ecx, [esi + 0x304]
call fcn.0045f390
test eax, eax
jne 0x4604f0
push 0x7f00
push eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebp - 0x6c]
mov dword [eax], 1
jmp 0x46065e
cmp eax, 0x201
jne 0x46054b
mov eax, dword [esi + 0x18]
movsx ecx, dx
shr edx, 0x10
mov dword [ebp - 0x80], ecx
lea ecx, [esi + 0x304]
mov dword [eax + 0x20], 1
movsx eax, dx
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
push eax
call fcn.0046c890
test eax, eax
js 0x46053d
push eax
lea ecx, [esi + 0x304]
call fcn.0046c350
mov eax, dword [ebp - 0x6c]
mov dword [eax], 0
jmp 0x46065e
cmp eax, 0x10301
jne 0x4605aa
push edi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov edi, eax
mov dword [esi + 0x40], edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x460598
cmp dword [esi + 0x34], 0
mov ecx, dword [esi + 4]
je 0x460591
push edi
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x74], 0
mov dword [eax], 1
jmp 0x460665
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x74], 0
mov dword [eax], 1
jmp 0x460665
cmp eax, 0x4fd
jne 0x4605f4
mov eax, dword [edi + 4]
xor ecx, ecx
sub eax, dword [edi]
sar eax, 2
mov dword [ebp - 0x78], ecx
test eax, eax
je 0x460598
mov eax, dword [edi]
push 1
push dword [eax + ecx*4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x78]
sub eax, dword [edi]
inc ecx
sar eax, 2
mov dword [ebp - 0x78], ecx
cmp ecx, eax
jb 0x4605c2
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x74], 0
mov dword [eax], 1
jmp 0x460665
cmp eax, 0x84
jne 0x46066b
mov eax, dword [esi + 0x18]
movsx ecx, dx
shr edx, 0x10
mov dword [ebp - 0x80], ecx
mov dword [eax + 0x20], 1
movsx eax, dx
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x460654
lea eax, [ebp - 0x20]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x7c]
cmp eax, 0x64
jg 0x460654
push eax
push dword [ebp - 0x80]
lea eax, [esi + 0x564]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, 2
test eax, eax
je 0x460659
mov ecx, 1
mov eax, dword [ebp - 0x6c]
mov dword [eax], ecx
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x20], 0
jne 0x46038f
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.004c6f8b
mov esp, ebp
pop ebp
ret 0x18