Function at 0x4c3080
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5d5fd3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x84]
push 6
push str.res:_
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.005235ec
add esp, 0xc
test eax, eax
jne 0x4c3190
mov ecx, dword [esi + 0x4e0]
push ecx
sub esp, 8
lea edx, [esp + 0x90]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.00438190
mov byte [esp + 0x88], 1
mov byte [esp + 0x88], bl
call fcn.00460aa0
mov ebp, eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 0x2c]
lea edi, [ebp + 0x10]
add esp, 0xc
mov ecx, edi
mov dword [esp + 0x2c], ebp
call edx
test eax, eax
mov eax, dword [ebp]
mov ecx, ebp
jne 0x4c3150
mov edx, dword [eax]
push 1
call edx
mov dword [esp + 0x7c], 0xffffffff
lea ecx, [esp + 0x84]
call fcn.004381e0
xor eax, eax
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 0xc
mov edx, dword [eax + 0x88]
call edx
mov dword [esi + 0x494], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
mov ecx, edi
call edx
mov dword [esi + 0x490], eax
mov eax, 1
mov dword [esp + 0x28], eax
mov dword [esi + 0x480], 0x4ba600
mov dword [esi + 0x484], 0x4ba650
mov dword [esp + 0x10], eax
jmp 0x4c31c7
mov eax, dword [esp + 0x84]
push 0x5dfa3c
push eax
call fcn.0051ff0f
add esp, 8
mov dword [esi + 0x488], eax
cmp eax, ebx
je 0x4c3125
mov dword [esi + 0x480], 0x4ba670
mov dword [esi + 0x484], 0x4ba6a0
lea ebp, [esi + 0x438]
mov ecx, esi
mov dword [ebp], 0x4bb460
mov dword [esi + 0x43c], 0x4bb480
mov dword [esi + 0x440], 0x4bb490
mov dword [esi + 0x444], 0x4bb4b0
call fcn.004bb390
lea edi, [esi + 0x448]
lea eax, [esi + 0x440]
push eax
push ebp
push edi
lea eax, [esi + 0x480]
push eax
mov ecx, esi
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
call fcn.004c0090
cmp eax, ebx
je 0x4c324b
mov ecx, dword [ebp + 4]
push ecx
push edi
mov ecx, esi
call fcn.004c0370
jmp 0x4c3253
mov dword [esp + 0x10], 1
mov edx, dword [esp + 0x10]
mov dword [esi + 0x4ec], edx
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x18], ebx
cmp dword [esi + 0x460], ebx
jbe 0x4c34bf
mov dword [esp + 0x1c], ebx
mov ebp, dword [esi + 0x464]
add ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x48]
mov eax, dword [ebp + 8]
push eax
mov dword [esp + 0x28], ebx
call fcn.0043a810
mov byte [esp + 0x7c], 2
push 0x5c
push 0x2f
lea ecx, [esp + 0x50]
call fcn.00439130
cmp byte [ebp + 0xe], 0
jne 0x4c3483
mov edx, dword [esi + 0x4e4]
mov eax, dword [esp + 0x48]
lea ecx, [esi + 0x4e4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], eax
call fcn.00437d00
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
call fcn.005235ec
add esp, 0xc
test eax, eax
jne 0x4c3483
lea eax, [esi + 0x440]
push eax
lea eax, [esi + 0x438]
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x50]
push ecx
push edx
push edi
lea eax, [esi + 0x480]
push eax
mov ecx, esi
call fcn.004bf5f0
cmp eax, ebx
jne 0x4c34ad
push 0x18
call fcn.004d9305
add esp, 4
mov dword [esp + 0x30], eax
mov byte [esp + 0x7c], 3
cmp eax, ebx
je 0x4c3357
mov ecx, eax
call fcn.004ba510
mov dword [esp + 0x14], eax
jmp 0x4c335b
mov dword [esp + 0x14], ebx
mov byte [esp + 0x7c], 2
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push ebx
mov dword [eax + 4], ebx
call fcn.0051f5e5
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x24]
push ebx
add edx, ecx
push edx
push eax
call fcn.0051ff80
add esp, 0x10
lea ecx, [esp + 0x40]
call fcn.00438090
mov byte [esp + 0x7c], 4
mov ebp, dword [ebp + 8]
mov eax, ebp
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4c33a3
sub eax, ecx
inc eax
push eax
lea ecx, [esp + 0x44]
mov ebx, ebp
call fcn.00436880
lea esp, [esp]
mov cl, byte [ebx]
mov byte [eax], cl
inc ebx
inc eax
test cl, cl
jne 0x4c33c0
push 0
lea ecx, [esp + 0x44]
call fcn.0043aa10
push 0x5c
push 0x2f
lea ecx, [esp + 0x48]
call fcn.00439130
lea ecx, [esp + 0x40]
call fcn.00438f70
mov edx, dword [esp + 0x14]
push edx
sub esp, 8
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00438190
mov byte [esp + 0x88], 5
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x8c], 4
call fcn.004bd8b0
add esp, 0x10
mov byte [esp + 0x7c], 6
push eax
lea ecx, [esp + 0x54]
call fcn.004bc3a0
mov byte [esp + 0x7c], 7
mov eax, dword [esi + 0x4b4]
mov edx, dword [esi + 0x4a0]
lea ecx, [esi + 0x498]
push eax
push edx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x74]
push eax
call fcn.004c2690
mov byte [esp + 0x7c], 6
lea ecx, [esp + 0x50]
call fcn.004381e0
mov byte [esp + 0x7c], 4
lea ecx, [esp + 0x5c]
call fcn.004381e0
mov byte [esp + 0x7c], 2
lea ecx, [esp + 0x40]
call fcn.004381e0
xor ebx, ebx
mov byte [esp + 0x7c], 0
lea ecx, [esp + 0x48]
call fcn.004381e0
mov eax, dword [esp + 0x18]
add dword [esp + 0x1c], 0x10
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esi + 0x460]
jb 0x4c3281
jmp 0x4c34bf
mov dword [esp + 0x10], ebx
mov byte [esp + 0x7c], 0
lea ecx, [esp + 0x48]
call fcn.004381e0
mov eax, dword [esi + 0x4b4]
mov eax, dword [eax]
mov ecx, dword [esi + 0x4a0]
mov dword [esi + 0x434], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x430], ecx
cmp eax, ebx
je 0x4c34ea
push eax
call fcn.0051d4db
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x4ec], ecx
cmp dword [esp + 0x28], ebx
jne 0x4c350b
mov edx, dword [esi + 0x488]
push edx
call fcn.0051fab3
add esp, 4
jmp 0x4c351b
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
je 0x4c351b
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [edi + 0x28]
mov ebp, dword [esi + 0x43c]
push eax
call ebp
mov ecx, dword [edi + 0x2c]
push ecx
call ebp
mov edx, dword [edi + 0x30]
push edx
call ebp
mov eax, dword [edi + 0x34]
push eax
call ebp
add esp, 0x10
push ebp
push edi
mov ecx, esi
call fcn.004bfa30
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [esp + 0x7c], 0xffffffff
lea ecx, [esp + 0x84]
call fcn.004381e0
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret 0xc