Function at 0x485860
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538590
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
lea esi, [edi + 0x2c]
mov dword [edi + 0x48], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x40], ebx
mov dword [esi + 4], ebx
mov byte [esi + 0xc], 0
mov eax, dword [edi + 0x14c]
push 1
push eax
mov ecx, esi
call fcn.0051c450
push 0x5212
lea ecx, [ebp - 0x20]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
mov ecx, eax
test eax, eax
jne 0x4858db
mov ecx, 0x54ee24
mov eax, dword [esi + 4]
test eax, eax
je 0x485905
test ecx, ecx
je 0x485905
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x485911
mov edx, dword [esi]
mov edi, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
mov edi, dword [ebp - 0x10]
jmp 0x485911
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [eax + esi], 0x57
push 0x8100
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x485944
push eax
call fcn.0051ebab
add esp, 4
lea esi, [edi + 0x50]
test ebx, ebx
je 0x485981
push 0x3e9
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x48596d
push 0x3e9
push ebx
mov edi, eax
call fcn.004351f0
mov edi, dword [ebp - 0x10]
jmp 0x485991
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x485991
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x48599d
mov ecx, 0x54ee24
mov eax, dword [edi + 0x64]
lea esi, [edi + 0x60]
test eax, eax
je 0x4859ca
test ecx, ecx
je 0x4859ca
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x4859d6
mov eax, dword [esi]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
mov edi, dword [ebp - 0x10]
jmp 0x4859d6
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov dword [eax + esi], 0x57
push 0x80ed
lea edx, [ebp - 0x5c]
push edx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x485a09
push eax
call fcn.0051ebab
add esp, 4
lea esi, [edi + 0x74]
test ebx, ebx
je 0x485a46
push 0x3ea
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x485a32
push 0x3ea
push ebx
mov edi, eax
call fcn.004351f0
mov edi, dword [ebp - 0x10]
jmp 0x485a56
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea esi, [ecx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x485a56
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x485a62
mov ecx, 0x54ee24
mov eax, dword [edi + 0x88]
lea esi, [edi + 0x84]
test eax, eax
je 0x485a95
test ecx, ecx
je 0x485a95
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x485aa1
mov ecx, dword [esi]
mov edi, dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
mov edi, dword [ebp - 0x10]
jmp 0x485aa1
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [eax + esi], 0x57
xor esi, esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 5
mov eax, dword [edi + 0x150]
push eax
lea eax, [ebp - 0x50]
call fcn.005080c0
sub esp, 0xc
lea edx, [ebp - 0x50]
mov ecx, esp
mov dword [ebp - 0x14], esp
push edx
call fcn.005072b0
lea eax, [ebp - 0x5c]
push eax
call fcn.00448790
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00508010
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x5c]
cmp eax, esi
je 0x485b0b
push eax
call fcn.0051ebab
add esp, 4
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.00508010
push 0x755f
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.00508010
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x5c]
cmp eax, esi
je 0x485b49
push eax
call fcn.0051ebab
add esp, 4
lea esi, [edi + 0x98]
test ebx, ebx
je 0x485b89
push 0x1795
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x485b75
push 0x1795
push ebx
mov edi, eax
call fcn.004351f0
mov edi, dword [ebp - 0x10]
jmp 0x485b99
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x485b99
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x485ba5
mov ecx, 0x54ee24
mov eax, dword [edi + 0xac]
lea esi, [edi + 0xa8]
test eax, eax
je 0x485bd5
test ecx, ecx
je 0x485bd5
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x485be1
mov eax, dword [esi]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
jmp 0x485be1
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov dword [eax + esi], 0x57
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
add ebx, 0x104
push 0x20
mov eax, 0x1199
mov ecx, edi
mov edx, ebx
mov dword [ebp - 0x14], ebx
call fcn.00445030
mov eax, dword [ebp - 0x2c]
mov ecx, eax
test eax, eax
jne 0x485c0e
mov ecx, 0x54ee24
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x118]
test eax, eax
je 0x485c46
test ecx, ecx
je 0x485c46
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x485c5a
mov edx, dword [esi + 0x114]
mov edi, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi + 0x114], eax
mov edi, dword [ebp + 8]
jmp 0x485c5a
mov eax, dword [esi + 0x114]
mov eax, dword [eax + 4]
mov dword [eax + esi + 0x114], 0x57
mov eax, dword [ebx + 8]
test eax, eax
je 0x485c6a
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x485c7a
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx + 4]
lea ebx, [edx + ebx + 0x10]
mov dword [ebx], 6
push 0x7560
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00508010
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x485cad
push eax
call fcn.0051ebab
add esp, 4
mov esi, dword [ebp - 0x10]
add esi, 0xbc
test edi, edi
je 0x485cf0
push 0x1796
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x485cdc
mov ecx, dword [ebp + 8]
push 0x1796
push ecx
mov edi, eax
call fcn.004351f0
jmp 0x485d00
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x485d00
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
mov dword [esi], 0x57
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x485d0c
mov ecx, 0x54ee24
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x485d41
test ecx, ecx
je 0x485d41
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x485d55
mov eax, dword [esi + 0xcc]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi + 0xcc], eax
jmp 0x485d55
mov ecx, dword [esi + 0xcc]
mov eax, dword [ecx + 4]
mov dword [eax + esi + 0xcc], 0x57
mov ebx, dword [ebp + 8]
mov edi, esi
push 0x20
lea edx, [edi + 0x128]
mov eax, 0x119a
mov ecx, ebx
call fcn.00445030
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x485d7a
mov ecx, 0x54ee24
mov eax, dword [edi + 0x13c]
lea esi, [edi + 0x138]
test eax, eax
je 0x485dad
test ecx, ecx
je 0x485dad
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x485db9
mov edx, dword [esi]
mov edi, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi], eax
mov edi, dword [ebp - 0x10]
jmp 0x485db9
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [eax + esi], 0x57
cmp dword [ebp - 0x28], 0
je 0x485dc5
cmp dword [ebp - 0x40], 0
jne 0x485de7
mov eax, dword [edi + 0x58]
test eax, eax
je 0x485dd7
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x485de7
mov ecx, dword [edi + 0x60]
mov edx, dword [ecx + 4]
lea eax, [edx + edi + 0x60]
mov dword [eax], 6
push 0xa029
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call fcn.00508010
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x5c]
xor esi, esi
cmp eax, esi
je 0x485e25
push eax
call fcn.0051ebab
add esp, 4
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
lea esi, [edi + 0xe0]
test ebx, ebx
je 0x485e62
push 0x1797
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x485e4e
push 0x1797
push ebx
mov edi, eax
call fcn.004351f0
jmp 0x485e72
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea edi, [edx + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
jmp 0x485e72
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi + 0x10]
mov dword [eax], 0x57
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x485e7e
mov ecx, 0x54ee24
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x485eb3
test ecx, ecx
je 0x485eb3
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x485ec7
mov edx, dword [edi + 0xf0]
mov ebx, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + edi + 0xf0], eax
jmp 0x485ec7
mov eax, dword [edi + 0xf0]
mov eax, dword [eax + 4]
mov dword [eax + edi + 0xf0], 0x57
mov eax, dword [esi + 8]
test eax, eax
je 0x485ed9
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x485ee9
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea esi, [edx + esi + 0x10]
mov dword [esi], 6
push 0x2af8
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov edi, dword [ebp - 0x38]
test edi, edi
jne 0x485f08
mov edi, 0x54ee24
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
push ecx
mov ebx, esi
call fcn.00486540
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 8]
xor ebx, ebx
cmp eax, ebx
je 0x485f2b
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x485f3b
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 4]
lea eax, [eax + ecx + 0x10]
mov dword [eax], 6
push 0xffffffffffffffff
push ebx
push 0xb1
push 0x1199
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x485f6f
push eax
call fcn.0051ebab
add esp, 4
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x44]
cmp eax, ebx
je 0x485f83
push eax
call fcn.0051ebab
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x485f97
push eax
call fcn.0051ebab
add esp, 4
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x485faa
push eax
call fcn.0051ebab
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x485fc1
push eax
call fcn.0051ebab
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc