Function at 0x45ce90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2ae0
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x53d9f8]
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
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 0x1c], 0
mov edx, 1
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x74], edx
jne 0x45d435
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
jne 0x45cf93
push dword [0x4feee8]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebx - 4]
call fcn.0045eb30
cmp dword [ebx + 0x34], 0
je 0x45cf18
push 0
push 0
lea ecx, [ebx - 4]
call fcn.00459520
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx + 4]
mov eax, ecx
neg eax
mov dword [ebx + 0x32c], ecx
sbb eax, eax
and eax, 0x10301
mov dword [ebx + 0x330], eax
mov eax, ecx
neg eax
mov dword [ebx + 0x338], 0
mov dword [ebx + 0x31c], ecx
sbb eax, eax
and eax, 0x4fd
mov dword [ebx + 0x320], eax
mov dword [ebx + 0x328], 0
cmp dword [ebx + 0x34], 0
je 0x45cf81
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 0x45d42c
cmp eax, 0xf
jne 0x45d0f9
mov eax, dword [ebx + 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 [0x542504]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov esi, eax
mov dword [ebp - 0x78], esi
xor eax, eax
mov byte [ebp - 4], 1
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
mov dword [ebp - 0x80], eax
test esi, esi
je 0x45d067
lea eax, [ebp - 0x94]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x45d067
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 - 0x8c]
mov ebx, eax
push dword [ebp - 0x90]
push 0
push 0
push dword [ebp - 0x70]
call dword [sym.imp.GDI32.dll_BitBlt]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
test edi, edi
je 0x45d061
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x70]
cmp dword [ebx + 0x3f0], 0
jne 0x45d0bf
mov eax, dword [ebx + 0x54]
lea ecx, [ebx + 0x304]
sub eax, dword [ebx + 0x4c]
mov dword [ebx + 0x430], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x28]
mov dword [ebp - 0x18], 0
push edi
mov dword [ebp - 0x14], 0
call fcn.0045c5b0
mov eax, dword [ebx + 0x53c]
sub eax, dword [ebx + 0x538]
sar eax, 5
test eax, eax
je 0x45d0bf
push 0
push 0x64
push 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
lea eax, [ebx + 0x4c]
push eax
push edi
lea ecx, [ebx + 0x304]
call fcn.0045ab70
test esi, esi
je 0x45d0da
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 0x45d42c
cmp eax, 0x113
jne 0x45d123
cmp esi, 2
jne 0x45d116
lea ecx, [ebx + 0x304]
call fcn.0045c420
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], 0
test edx, edx
jmp 0x45d42c
cmp eax, 0x83
jne 0x45d16a
test esi, esi
je 0x45d15d
mov eax, dword [edi + 0x10]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x14]
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x2c], eax
mov eax, dword [edi]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 4]
mov dword [edi + 0x14], eax
mov eax, dword [edi + 8]
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0xc]
mov dword [edi + 0x1c], eax
mov dword [ecx], 0
mov eax, edx
jmp 0x45d437
cmp eax, 2
jne 0x45d1a2
mov eax, dword [ebx + 0x18]
push 2
mov dword [eax + 0x20], edx
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x20], 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp - 0x6c]
mov dword [0x541aa0], 0
mov dword [eax], 0
jmp 0x45d425
cmp eax, 0x111
jne 0x45d281
movzx eax, si
mov ecx, 0x234
shr esi, 0x10
mov dword [ebp - 0x14], eax
cmp cx, ax
jne 0x45d1e6
mov eax, dword [ebx - 4]
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebx - 4]
push edi
push 0x234
push esi
call dword [eax + 0x24]
cmp dword [ebp - 0x74], 0
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
jne 0x45d42e
mov eax, dword [ebp - 0x14]
mov ecx, 0x235
cmp cx, ax
jne 0x45d218
mov eax, dword [ebx - 4]
lea ecx, [ebx - 4]
push 1
mov dword [ebp - 0x70], 1
call dword [eax + 0x28]
cmp dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x6c]
mov dword [eax], 0
jne 0x45d42e
mov eax, dword [ebp - 0x14]
mov ecx, 0x236
cmp cx, ax
jne 0x45d24a
mov eax, dword [ebx - 4]
lea ecx, [ebx - 4]
push 2
mov dword [ebp - 0x70], 1
call dword [eax + 0x28]
cmp dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x6c]
mov dword [eax], 0
jne 0x45d42e
mov eax, dword [ebp - 0x14]
mov ecx, 0x234
cmp cx, ax
jne 0x45d435
mov eax, dword [ebx - 4]
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebx - 4]
mov dword [ebp - 0x70], 1
push edi
push 0x234
push esi
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x6c]
cmp dword [ebp - 0x70], 0
mov dword [ecx], eax
jmp 0x45d42c
cmp eax, 0x20
jne 0x45d2e5
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [eax + 0x20], edx
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x7c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebx + 0x304]
call fcn.0045c190
test eax, eax
jne 0x45d2d7
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 0x45d425
cmp eax, 0x201
jne 0x45d31e
mov eax, dword [ebx + 0x18]
movsx ecx, di
shr edi, 0x10
mov dword [ebp - 0x7c], ecx
lea ecx, [ebx + 0x304]
mov dword [eax + 0x20], edx
movsx eax, di
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0045c0a0
mov eax, dword [ebp - 0x6c]
mov dword [eax], 0
jmp 0x45d425
cmp eax, 0x10301
jne 0x45d37d
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov esi, eax
mov dword [ebx + 0x40], esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45d36b
cmp dword [ebx + 0x34], 0
mov ecx, dword [ebx + 4]
je 0x45d364
push esi
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x74], 0
mov dword [eax], 1
jmp 0x45d42c
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x74], 0
mov dword [eax], 1
jmp 0x45d42c
cmp eax, 0x4fd
jne 0x45d3bf
mov eax, dword [esi + 4]
xor edi, edi
sub eax, dword [esi]
sar eax, 2
test eax, eax
je 0x45d3b5
mov eax, dword [esi]
push 1
push dword [eax + edi*4]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 4]
inc edi
sub eax, dword [esi]
sar eax, 2
cmp edi, eax
jb 0x45d392
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], 1
test edx, edx
jmp 0x45d42c
cmp eax, 0x84
jne 0x45d435
mov eax, dword [ebx + 0x18]
movsx ecx, di
shr edi, 0x10
mov dword [ebp - 0x7c], ecx
mov dword [eax + 0x20], edx
movsx eax, di
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x45d41b
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x78]
cmp eax, 0x64
jg 0x45d41b
push eax
push dword [ebp - 0x7c]
lea eax, [ebx + 0x564]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, 2
test eax, eax
je 0x45d420
mov ecx, 1
mov eax, dword [ebp - 0x6c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x20], 0
je 0x45d435
mov eax, 1
jmp 0x45d437
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.004bee49
mov esp, ebp
pop ebp
ret 0x18