Function at 0x185d791f
Capabilities:
Hide graphical window

Disassembly:
push ebp
lea ebp, [esp - 0x488]
sub esp, 0x488
push 0xffffffffffffffff
push 0x186ba30b
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1870626c]
xor eax, ebp
mov dword [ebp + 0x484], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0
push dword [ebx + 0x108]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x185d80c5
xor esi, esi
cmp dword [ebx + 0x6c], esi
je 0x185d80c5
mov ecx, dword [ebp + 0x498]
push dword [ebx + 4]
movsx eax, cx
shr ecx, 0x10
mov dword [ebx + 0x20], eax
movsx eax, cx
mov dword [ebx + 0x24], eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push ecx
push eax
call sub.gdiplus.dll_GdipCreateFromHDC
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov ecx, dword [0x1886cd98]
lea eax, [ebp - 0x18]
mov edi, dword [ebx + 0x24]
add ecx, 0x102c
mov dword [ebp - 4], esi
mov esi, dword [ebx + 0x20]
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
call fcn.185cab50
test eax, eax
je 0x185d79e7
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x185d80bd
mov eax, dword [ebx + 0x10c]
lea ecx, [ebp - 0x18]
add eax, 0x18
mov dword [ebp - 0x18], esi
push ecx
mov ecx, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], eax
call fcn.185cab50
test eax, eax
mov eax, dword [ebx + 0x10c]
je 0x185d7ab1
cmp byte [eax + 0x14], 0
jne 0x185d80bd
mov eax, dword [0x1886cd98]
lea ecx, [ebp - 0x38]
push dword [ebp - 0x20]
push dword [eax + 0x12b0]
call fcn.185cbd50
mov eax, dword [ebx + 0x10c]
lea ecx, [ebp - 0x38]
mov byte [eax + 0x14], 1
mov eax, dword [ebx + 0x10c]
add eax, 0x2c
push eax
mov eax, dword [0x1886cd98]
push dword [eax + 0x128c]
call fcn.185cbd50
mov eax, dword [ebx + 0x10c]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov byte [eax + 0x28], 0
push dword [ebx + 0xfc]
call edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [ebx + 0xfc]
call esi
push 1
push dword [ebx + 0x100]
call esi
push 5
push dword [ebx + 0x100]
call edi
push 0x105
push 0
push 0
push dword [ebx + 0x100]
call dword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x185d7b5b
add eax, 0x2c
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], edi
push ecx
mov ecx, eax
mov dword [ebp - 0x20], eax
call fcn.185cab50
test eax, eax
je 0x185d7b7b
mov eax, dword [ebx + 0x10c]
cmp byte [eax + 0x28], 0
jne 0x185d80bd
mov eax, dword [0x1886cd98]
lea ecx, [ebp - 0x38]
push dword [ebp - 0x20]
push dword [eax + 0x12b0]
call fcn.185cbd50
mov eax, dword [ebx + 0x10c]
lea ecx, [ebp - 0x38]
mov byte [eax + 0x28], 1
mov eax, dword [ebx + 0x10c]
add eax, 0x18
push eax
mov eax, dword [0x1886cd98]
push dword [eax + 0x128c]
call fcn.185cbd50
mov eax, dword [ebx + 0x10c]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov byte [eax + 0x14], 0
push dword [ebx + 0x100]
call edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [ebx + 0x100]
call esi
push 1
push dword [ebx + 0xfc]
call esi
push 5
push dword [ebx + 0xfc]
call edi
push 0
push 0
push 0x1105
push dword [ebx + 0xfc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx + 0xf8], eax
jmp 0x185d80bd
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push ecx
mov ecx, dword [ebx + 0x118]
mov dword [ebp - 0x14], edi
call fcn.185cab50
test eax, eax
je 0x185d7d0f
cmp dword [ebx + 0xf8], 0
jle 0x185d7d0f
push 1
lea ecx, [ebp + 0x36c]
call fcn.186cae18
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp + 0x36c]
call fcn.185cada3
cmp eax, 7
je 0x185d7e58
call fcn.1868629e
mov esi, eax
mov ecx, dword [esi + 8]
call fcn.1869a1f0
lea ecx, [ebp - 0x19]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.185d634c
mov eax, dword [ebx + 0x10c]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
cmp byte [eax + 0x28], 0
je 0x185d7c8f
push 0x188626f0
call fcn.185b0640
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2c]
call fcn.185d8d28
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.185ae8d0
push 0x188626fc
lea ecx, [ebp - 0x10]
call fcn.185b0640
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2c]
call fcn.185d8d28
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.185ae8d0
push 0x188626e4
lea ecx, [ebp - 0x10]
call fcn.185b0640
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x2c]
call fcn.185d8d28
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.185ae8d0
lea ecx, [ebx + 0xfc]
jmp 0x185d7cea
push 0x18862714
call fcn.185b0640
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x2c]
call fcn.185d8d28
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.185ae8d0
push 0x18862720
lea ecx, [ebp - 0x10]
call fcn.185b0640
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x2c]
call fcn.185d8d28
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.185ae8d0
lea ecx, [ebx + 0x100]
call fcn.185d6919
and dword [ebx + 0xf8], 0
lea eax, [ebp - 0x2c]
mov ecx, dword [esi + 8]
push eax
call fcn.1869a3b0
lea ecx, [ebp - 0x2c]
call fcn.185d688d
jmp 0x185d7e58
mov ecx, dword [ebx + 0x118]
lea eax, [ebp - 0x18]
push eax
add ecx, 0x10
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
call fcn.185cab50
test eax, eax
je 0x185d7e7f
cmp dword [ebx + 0xf8], 0
jle 0x185d7e7f
push 0
lea ecx, [ebp + 0x36c]
call fcn.186cae18
push 0
mov byte [ebp - 4], 8
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp + 0x36c]
call fcn.185cada3
cmp eax, 7
je 0x185d7e58
call fcn.185a8970
push eax
lea ecx, [ebp - 0x10]
call fcn.185b05e4
mov eax, dword [ebx + 0x10c]
mov edi, 0xfc
push 0
push 9
push 0x110a
cmp byte [eax + 0x28], 0
lea ecx, [edi + 4]
mov byte [ebp - 4], 9
cmove edi, ecx
add edi, ebx
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x30], eax
push ecx
push eax
mov ecx, edi
call fcn.185d7456
call fcn.1868629e
mov dword [ebp - 0x28], eax
mov ecx, dword [eax + 8]
call fcn.1869a1f0
lea ecx, [ebp - 0x19]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.185d634c
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xa
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp esi, eax
je 0x185d7e28
push 0
lea ecx, [ebp - 0x10]
call fcn.185b0db6
push eax
lea ecx, [esi + 0x14]
call fcn.185bf06d
test eax, eax
je 0x185d7e09
lea ecx, [ebp - 0x20]
call fcn.185ca2f5
mov esi, dword [ebp - 0x20]
cmp esi, dword [ebp - 0x18]
jne 0x185d7de0
jmp 0x185d7e28
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.185d8ce8
push dword [ebp - 0x30]
push 0
push 0x1101
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
dec dword [ebx + 0xf8]
push eax
mov ecx, dword [ecx + 8]
call fcn.1869a3b0
push dword [edi]
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [ebp - 0x18]
call fcn.185d688d
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.185ae8d0
cmp dword [ebp + 0x380], 0
mov dword [ebp + 0x36c], 0x188626d4
je 0x185d80bd
push dword [ebp + 0x380]
call fcn.1862d0b6
jmp 0x185d80bd
mov ecx, dword [ebx + 0x118]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
lea ecx, [ecx + 0x20]
call fcn.185cab50
test eax, eax
je 0x185d80bd
call fcn.1868629e
mov edi, eax
mov dword [ebp - 0x30], edi
mov ecx, dword [edi + 8]
call fcn.1869a1f0
lea ecx, [ebp - 0x19]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.185d634c
mov eax, dword [ebx + 0x10c]
mov byte [ebp - 4], 0xb
cmp byte [eax + 0x28], 0
je 0x185d7fb9
call fcn.185a8970
push eax
lea ecx, [ebp - 0x10]
call fcn.185b05e4
xor eax, eax
mov byte [ebp - 4], 0xc
push eax
push eax
push 6
push eax
push eax
push 1
lea ecx, [ebp]
call fcn.185d43e0
push dword [ebx + 4]
lea ecx, [ebp]
mov byte [ebp - 4], 0xd
call fcn.185d4581
cmp eax, 1
jne 0x185d7f1f
push dword [ebp + 0x3c]
call fcn.185c226d
pop ecx
push eax
push dword [ebp + 0x3c]
lea ecx, [ebp - 0x10]
call fcn.185b0f02
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
je 0x185d7fa3
push 0x18862864
lea ecx, [ebp - 0x28]
call fcn.185d090a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xe
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.185d62b4
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x24]
call fcn.185d639c
push eax
add eax, 0x10
lea ecx, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.185d679c
lea ecx, [ebp - 0x18]
call fcn.185d0a73
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.185ae8d0
mov esi, dword [ebp - 0x10]
lea edi, [ebx + 0xfc]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push esi
push 1
call fcn.185d764b
push dword [edi]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edi, dword [ebp - 0x30]
cmp dword [ebp + 0x14], 0
je 0x185d7fb1
push dword [ebp + 0x14]
call fcn.1862d0b6
lea ecx, [esi - 0x10]
jmp 0x185d809a
call fcn.185a8970
push eax
lea ecx, [ebp - 0x10]
call fcn.185b05e4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 0x344]
call fcn.186cad2c
push 0
mov byte [ebp - 4], 0x11
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp + 0x344]
call fcn.185cada3
test eax, eax
je 0x185d8076
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x185d8076
push str.DUr_
lea ecx, [ebp - 0x28]
call fcn.185d090a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x12
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.185d62b4
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x24]
call fcn.185d639c
push eax
add eax, 0x10
lea ecx, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.185d679c
lea ecx, [ebp - 0x18]
call fcn.185d0a73
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.185ae8d0
xor eax, eax
lea esi, [ebx + 0x100]
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp - 0x10]
mov ecx, esi
push 1
call fcn.185d764b
push dword [esi]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [ebp + 0x358], 0
mov dword [ebp + 0x344], 0x188626c0
je 0x185d8094
push dword [ebp + 0x358]
call fcn.1862d0b6
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
mov byte [ebp - 4], 0xb
call fcn.185ae8d0
inc dword [ebx + 0xf8]
lea eax, [ebp - 0x24]
mov ecx, dword [edi + 8]
push eax
call fcn.1869a3b0
lea ecx, [ebp - 0x24]
call fcn.185d688d
push dword [ebp - 0x38]
call sub.gdiplus.dll_GdipDeleteGraphics
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 + 0x484]
xor ecx, ebp
call fcn.18615399
add ebp, 0x488
leave
ret 0x10