Function at 0x489de1
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a5a07
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push esi
mov esi, dword [0x52f800]
push edi
push 0x160
call fcn.004387c2
pop ecx
mov dword [esp + 0xc], eax
xor ebx, ebx
mov dword [esp + 0xac], ebx
test eax, eax
je 0x489e33
sub esp, 0x2c
mov ecx, eax
call fcn.00482978
jmp 0x489e35
mov eax, ebx
or dword [esp + 0xac], 0xffffffff
mov dword [esi + 0x50], eax
mov dword [eax + 0x64], 1
mov eax, dword [esi + 0x50]
push str.register
push 0x4f0358
mov dword [eax + 0x104], 0x2a
call fcn.0041e77e
mov eax, dword [eax + 0x38]
add eax, 0x3c
cmp dword [eax + 0x14], 8
jb 0x489e71
mov eax, dword [eax]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0041e77e
mov ecx, dword [eax + 0x38]
call fcn.00469cf9
mov dword [esp + 0xb8], 1
cmp dword [eax + 0x14], 8
jb 0x489e97
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
push 0x526d48
call fcn.0041ee74
push 1
push 1
mov dl, 1
lea ecx, [esp + 0xa0]
call fcn.0045b017
add esp, 0x20
mov byte [esp + 0xbc], 2
cmp dword [eax + 0x14], 8
jb 0x489ecc
mov eax, dword [eax]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.0045da2b
add esp, 0x18
push eax
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 0x138]
add ecx, 0x3c
call fcn.0041eed4
push ebx
push 1
lea ecx, [esp + 0x60]
call fcn.0041f6b8
push ebx
push 1
lea ecx, [esp + 0x78]
call fcn.0041f6b8
or dword [esp + 0xac], 0xffffffff
lea ecx, [esp + 0x28]
push ebx
push 1
call fcn.0041f6b8
call fcn.0041e77e
push 0x4f031c
mov ecx, dword [eax + 0x18]
add ecx, 0xe0
call fcn.00420ac5
test eax, eax
je 0x48a048
mov eax, dword [esi + 0x50]
lea ecx, [esp + 0x10]
mov eax, dword [eax + 0x138]
add eax, 0x3c
push eax
call fcn.0041ee74
mov edi, 0x4f030c
mov dword [esp + 0xac], 3
push edi
call fcn.00438238
pop ecx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.004232bf
call fcn.0041e77e
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x18]
mov eax, dword [eax + 0x18]
add eax, 0xe0
push eax
call fcn.00423219
mov edi, str.uid
push edi
call fcn.00438238
pop ecx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.004232bf
call fcn.0041e77e
sub esp, 0x18
mov ecx, esp
mov eax, dword [eax + 0x18]
add eax, 0xc8
push eax
call fcn.0041ee74
lea ecx, [esp + 0x40]
call fcn.0045c2d5
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 4
call fcn.00423219
push ebx
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xb4], 3
call fcn.0041f6b8
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 0x138]
lea eax, [esp + 0x10]
add ecx, 0x3c
cmp ecx, eax
je 0x48a00b
push 0xffffffffffffffff
push ebx
push eax
call fcn.0041ef03
lea eax, [esp + 0x28]
push 0x5d
push eax
call fcn.0041e77e
mov ecx, dword [eax + 4]
call fcn.00421cab
mov ecx, dword [esi + 0x50]
push eax
add ecx, 0x9c
call fcn.0041eed4
push ebx
push 1
lea ecx, [esp + 0x30]
call fcn.0041f6b8
or dword [esp + 0xac], 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x48a075
lea eax, [esp + 0x88]
push 0xd
push eax
call fcn.0041e77e
mov ecx, dword [eax + 4]
call fcn.00421cab
mov ecx, dword [esi + 0x50]
push eax
add ecx, 0x9c
call fcn.0041eed4
lea ecx, [esp + 0x88]
push ebx
push 1
call fcn.0041f6b8
lea ecx, [esp + 0x40]
call fcn.0045caf7
mov dword [esp + 0xac], 5
call fcn.0041e77e
mov edi, dword [eax + 0x18]
add edi, 0x23c
cmp dword [edi + 0x14], 8
jb 0x48a0a7
mov edi, dword [edi]
cmp word [edi], bx
jne 0x48a0b0
mov eax, ebx
jmp 0x48a0b7
push edi
call fcn.00438238
pop ecx
push eax
push edi
lea ecx, [esp + 0x48]
call fcn.004232bf
mov edi, 0x4f0320
push edi
call fcn.00438238
pop ecx
push eax
push edi
lea ecx, [esp + 0x48]
call fcn.004232bf
mov ecx, dword [esi + 0x50]
mov eax, dword [esi + 4]
push SysReAllocStringLen
mov dword [ecx + 0x10c], eax
mov eax, dword [esi + 0x50]
mov byte [eax + 0x45], 1
push dword [esi + 4]
mov ecx, dword [esi + 0x50]
call fcn.0042fab9
mov ecx, dword [esi + 0x50]
push 5
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push 1
lea ecx, [esp + 0x48]
call fcn.0041f6b8
mov ecx, dword [esp + 0xa4]
xor eax, eax
pop edi
pop esi
inc eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc