Function at 0x4858e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5916
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x500324]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], ecx
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 0x10]
mov dword [eax + 0x5b0], 0
mov ecx, dword [ebp - 0x12c]
cmp dword [ecx + 4], 0
jne 0x4859f4
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x12c]
call fcn.00485210
mov dword [ebp - 0x134], 0x40000000
push 0
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xc], edx
push 0
mov eax, dword [ebp - 0x134]
push eax
push 0
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x12c]
mov edx, dword [edx]
mov ecx, dword [eax + 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.00407910
push eax
mov ecx, dword [ebp - 0x12c]
call fcn.00411dc0
push 1
mov ecx, dword [ebp - 0x12c]
mov ecx, dword [ecx + 0x10]
call fcn.00471120
push eax
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x12c]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.004073a0
mov ecx, dword [eax]
push ecx
push 0x30
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x12c]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x13c]
call fcn.00416620
mov byte [ebp - 0x12d], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.00415770
movzx edx, byte [ebp - 0x12d]
test edx, edx
je 0x485a71
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0x10]
add ecx, 0x5a0
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea edx, [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0x10]
call fcn.004856c0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.004159a0
push eax
push 0
push 0x1032
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x10
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0x10]
add ecx, 0x5a0
push ecx
mov edx, dword [ebp - 0x12c]
add edx, 0x1a
push edx
call fcn.004b95f0
add esp, 0xc
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0x10]
add ecx, 0x5a0
push ecx
push 0
push 0x1002
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp - 0x12c]
mov byte [edx + 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.00415770
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1724
mov esp, ebp
pop ebp
ret 4