Function at 0x527760
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cc44
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x615720]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x74]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x30], 0
mov edx, dword [ebp - 0x74]
mov dword [edx + 0x38], 0xe
mov eax, dword [ebp - 0x74]
mov dword [eax + 0x3c], 7
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x40], 7
mov edx, dword [ebp - 0x74]
mov dword [edx + 0x48], 0
mov eax, dword [ebp - 0x74]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x4c], 0
mov edx, dword [ebp - 0x74]
mov dword [edx + 0x50], 0x64
mov eax, dword [ebp - 0x74]
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0x74]
mov byte [ecx + 0xc], 0
mov edx, dword [ebp - 0x74]
mov byte [edx + 0x18], 0
mov eax, dword [ebp - 0x74]
mov byte [eax + 0xd0], 0
lea ecx, [ebp - 0x70]
push ecx
call fcn.004e3b70
add esp, 4
mov dword [ebp - 4], 0
push 0x5a6798
push 0x5a67d8
lea edx, [ebp - 0x40]
push edx
call fcn.004e2580
add esp, 0xc
mov byte [ebp - 4], 1
push 0x5a6744
lea ecx, [ebp - 0xe8]
call fcn.004e98c0
mov byte [ebp - 4], 2
push 0x5a678c
lea ecx, [ebp - 0xb8]
call fcn.004e98c0
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x40]
push edx
push reloc.WS2_32.dll_bind
lea eax, [ebp - 0x190]
push eax
call fcn.004e8490
add esp, 0x18
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0x74]
add ecx, 0x70
call fcn.004e9990
lea ecx, [ebp - 0x190]
call fcn.004e99d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb8]
call fcn.004e99d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe8]
call fcn.004e99d0
lea edx, [ebp - 0x160]
push edx
call fcn.004e3410
add esp, 4
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x90]
call fcn.004e9c70
push eax
lea ecx, [ebp - 0x118]
push ecx
call fcn.004e4b50
add esp, 8
mov dword [ebp - 0x98], eax
mov edx, dword [ebp - 0x98]
push edx
mov ecx, dword [ebp - 0x74]
add ecx, 0x88
call fcn.004e9990
lea ecx, [ebp - 0x118]
call fcn.004e99d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x160]
call fcn.004e99d0
lea eax, [ebp - 0x130]
push eax
call fcn.004e7980
add esp, 4
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x74]
add ecx, 0xa0
call fcn.004e9990
lea ecx, [ebp - 0x130]
call fcn.004e99d0
lea edx, [ebp - 0x178]
push edx
call fcn.004e31d0
add esp, 4
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x78]
call fcn.004e9c70
push eax
push str._sServiceLog.txt
lea ecx, [ebp - 0x148]
push ecx
call fcn.004e2580
add esp, 0xc
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
push edx
mov ecx, dword [ebp - 0x74]
add ecx, 0xd4
call fcn.004e9990
lea ecx, [ebp - 0x148]
call fcn.004e99d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x178]
call fcn.004e99d0
push 0x5a6810
lea ecx, [ebp - 0x70]
call fcn.004e9c70
push eax
push 0x5a6804
lea eax, [ebp - 0x58]
push eax
call fcn.004e2580
add esp, 0x10
mov byte [ebp - 4], 6
push 0x5a6854
lea ecx, [ebp - 0x100]
call fcn.004e98c0
mov byte [ebp - 4], 7
push 0x5a6858
lea ecx, [ebp - 0xd0]
call fcn.004e98c0
mov byte [ebp - 4], 8
push 0
lea ecx, [ebp - 0x100]
push ecx
lea edx, [ebp - 0xd0]
push edx
lea eax, [ebp - 0x58]
push eax
push reloc.WS2_32.dll_closesocket
lea ecx, [ebp - 0x1a8]
push ecx
call fcn.004e8490
add esp, 0x18
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
push edx
mov ecx, dword [ebp - 0x74]
add ecx, 0xb8
call fcn.004e9990
lea ecx, [ebp - 0x1a8]
call fcn.004e99d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xd0]
call fcn.004e99d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x100]
call fcn.004e99d0
lea ecx, [ebp - 0x28]
call fcn.004e8f60
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x9c], esp
push 0x5a6868
call fcn.004e8fb0
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0x74]
call fcn.0052a500
push 0x5a6878
lea ecx, [ebp - 0x28]
call fcn.004e93b0
test eax, eax
jne 0x527adc
mov ecx, dword [ebp - 0x74]
mov byte [ecx + 0xd0], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.004e90c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004e99d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004e99d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.004e99d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055dcfd
mov esp, ebp
pop ebp
ret