Function at 0x4ae480
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ec1b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x62819c]
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 eax, dword [ebp + 8]
push 0x5b0a88
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00429080
add esp, 0xc
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ae4e5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0042daa0
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
push 0x40
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
call fcn.00546014
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 4
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ecx
cmp edi, ecx
ja 0x4ae58a
cmp ecx, 8
mov dword [ebp - 0x50], edi
lea ebx, [edi + edi]
push ebx
lea esi, [ebp - 0x60]
cmovae esi, dword [ebp - 0x60]
push eax
push esi
call fcn.0054a880
add esp, 0xc
xor eax, eax
mov word [ebx + esi], ax
jmp 0x4ae635
cmp edi, 0x7ffffffe
ja 0x4ae8ac
mov esi, edi
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4ae5aa
mov esi, 0x7ffffffe
jmp 0x4ae5c8
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x4ae5c0
mov esi, 0x7ffffffe
jmp 0x4ae5c8
lea eax, [ecx + edx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x60]
call fcn.0042da40
lea ebx, [edi + edi]
mov dword [ebp - 0x4c], esi
push ebx
push dword [ebp - 0x80]
mov esi, eax
mov dword [ebp - 0x84], eax
push esi
mov dword [ebp - 0x50], edi
call fcn.0054ae00
xor eax, eax
add esp, 0xc
mov word [ebx + esi], ax
mov eax, dword [ebp - 0x7c]
cmp eax, 8
jb 0x4ae632
mov ecx, dword [ebp - 0x60]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ae628
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ae8b1
push edx
push ecx
call fcn.00546044
add esp, 8
mov dword [ebp - 0x60], esi
push 1
push 0x5ad728
lea ecx, [ebp - 0x60]
call fcn.0043eb30
push 0x10
push str.cfgsproduct.dat
mov ecx, eax
call fcn.0043eb30
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], eax
cmp edi, eax
ja 0x4ae68d
cmp eax, 8
mov dword [ebp - 0x38], edi
push ebx
lea esi, [ebp - 0x48]
cmovae esi, dword [ebp - 0x48]
push ecx
push esi
call fcn.0054a880
add esp, 0xc
xor eax, eax
mov word [ebx + esi], ax
jmp 0x4ae734
cmp edi, 0x7ffffffe
ja 0x4ae8ac
mov esi, edi
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4ae6ad
mov esi, 0x7ffffffe
jmp 0x4ae6ca
mov ecx, eax
mov edx, 0x7ffffffe
shr ecx, 1
sub edx, ecx
cmp eax, edx
jbe 0x4ae6c3
mov esi, 0x7ffffffe
jmp 0x4ae6ca
add eax, ecx
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x48]
call fcn.0042da40
push ebx
push dword [ebp - 0x7c]
mov dword [ebp - 0x34], esi
mov esi, eax
push esi
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x38], edi
call fcn.0054ae00
xor eax, eax
add esp, 0xc
mov word [ebx + esi], ax
mov eax, dword [ebp - 0x80]
cmp eax, 8
jb 0x4ae731
mov ecx, dword [ebp - 0x48]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ae727
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ae8b1
push edx
push ecx
call fcn.00546044
add esp, 8
mov dword [ebp - 0x48], esi
push 1
push 0x5ad728
lea ecx, [ebp - 0x48]
call fcn.0043eb30
push 0xc
push str.cfgsoem.ini
mov ecx, eax
call fcn.0043eb30
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp eax, 8
jb 0x4ae78f
mov edx, dword [ebp - 0x28]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ae785
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ae8b1
push ecx
push edx
call fcn.00546044
add esp, 8
mov edx, dword [ebp - 0x88]
or eax, 0xffffffff
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4ae7b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x16
xor eax, eax
mov dword [ebp - 0x18], 0
push str.Server_ReinstallServer
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0042daa0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x60]
call fcn.004428a0
cmp dword [eax + 0x14], 8
jb 0x4ae7f0
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x4ae83e
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ae834
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ae8b6
push edx
push ecx
call fcn.00546044
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
cmp edx, 8
jb 0x4ae888
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ae87e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ae8b6
push edx
push ecx
call fcn.00546044
add esp, 8
lea ecx, [ebp - 0x60]
call fcn.00440050
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.00545ec7
mov esp, ebp
pop ebp
ret
call fcn.0042d9d0
call fcn.00555394
call fcn.00555394
int3