Function at 0x4062a0
Capabilities:
Access peb ldr_data
Create thread
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x46e700]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.Formatted_settings_been_set
call fcn.004065b0
add esp, 4
mov eax, 0x1a1
cmp eax, 0x24
ja 0x4062cb
call 0x1056620f
add byte [edx], 0x64
mov edi, dword [0x30]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x4700b0], eax
sub eax, eax
je 0x4062f0
call 0xe848cdcb
popal
cmp eax, dword [eax]
add byte [ebx + 0x4c483f0], cl
push 8
call fcn.00409e58
mov esi, eax
add esp, 4
test esi, esi
je 0x40633c
push 4
call fcn.00409e58
add esp, 4
test eax, eax
je 0x406316
mov dword [eax], 0x4061c0
jmp 0x406318
xor eax, eax
lea edi, [esi + 4]
push edi
push 0
push eax
push 0x401b50
push 0
push 0
call fcn.00410b0a
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x40658b
jmp 0x40633e
xor esi, esi
cmp dword [esi + 4], 0
je 0x406598
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [esi + 4], eax
je 0x40659f
push 0
push dword [esi + 4]
push dword [esi]
call fcn.00407459
add esp, 0xc
test eax, eax
jne 0x4065a6
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00405ec0
mov ecx, dword [ebp - 0x18]
add esp, 4
mov eax, dword [ebp - 0x1c]
cmp ecx, 0x7fffffff
jg 0x406399
jl 0x406395
cmp eax, 0xfa0a1eff
jae 0x406399
mov dl, 1
jmp 0x40639b
xor dl, dl
test dl, dl
je 0x4063af
add eax, 0x5f5e100
mov dword [ebp - 0x20], eax
adc ecx, 0
mov dword [ebp - 0x28], ecx
jmp 0x4063bd
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x28], 0x7fffffff
push ebx
nop
call fcn.0040735a
mov esi, eax
mov ebx, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], ebx
call fcn.00407343
mov ecx, eax
cmp esi, 0x989680
jne 0x4063f7
test ebx, ebx
jne 0x4063f7
mov eax, edx
mov esi, 0x64
mul esi
mov ebx, eax
mov eax, ecx
mul esi
add ebx, edx
mov edx, eax
jmp 0x406441
push ebx
push esi
push edx
push ecx
call fcn.0040a390
push 0
push 0x3b9aca00
push ebx
push ecx
mov edi, eax
mov esi, edx
call fcn.0040a470
push dword [ebp - 0x24]
push dword [ebp - 0x18]
push edx
push eax
call fcn.0040a2e0
mov dword [ebp - 0x18], eax
mov ebx, edx
mov ecx, 0x3b9aca00
mov eax, esi
mul ecx
mov edx, 0x3b9aca00
mov ecx, eax
mov eax, edi
mul edx
add ecx, edx
mov edx, dword [ebp - 0x18]
add edx, eax
adc ebx, ecx
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
cmp ebx, esi
jg 0x406455
jl 0x406451
cmp edx, ecx
jae 0x406455
mov al, 1
jmp 0x406457
xor al, al
test al, al
je 0x4064d0
mov edi, ecx
sub edi, edx
sbb esi, ebx
mov dword [ebp - 0x18], esi
call fcn.004073d7
push 0
push 0x64
push edx
push eax
call fcn.0040a470
mov ebx, dword [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 0x24], edx
mov esi, eax
mov edx, ebx
call fcn.0040a4b0
comisd xmm0, xmmword [0x428778]
jbe 0x406499
mov edi, 0xad160000
mov ebx, 0x311cd
mov eax, dword [ebp - 0x24]
add esi, edi
push 0
push 0x3b9aca00
adc eax, ebx
push eax
push esi
call fcn.0040a2e0
mov dword [ebp - 0x14], eax
imul eax, eax, 0x3b9aca00
mov dword [ebp - 0x10], edx
sub esi, eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0xc], esi
call fcn.004074a8
add esp, 4
jmp 0x4063c0
push 0xb0
mov dword [ebp - 0x18], 0x403340
call fcn.00409e58
add esp, 4
pop ebx
test eax, eax
je 0x4064f8
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.004014c0
mov esi, eax
jmp 0x4064fa
xor esi, esi
test esi, esi
je 0x406584
lea ecx, [esi + 4]
lock inc dword [ecx]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx], eax
jne 0x406527
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x40651f
mov eax, dword [ecx]
push esi
jmp 0x406525
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
test esi, esi
je 0x406535
cmp byte [esi + 0x6c], 0
jne 0x406535
mov al, 1
jmp 0x406537
xor al, al
test al, al
je 0x406584
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 8]
lock xadd dword [esi + 4], edi
dec edi
jne 0x406572
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x40656a
mov eax, dword [ecx]
push esi
call dword [eax]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a2cc
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0040a2cc
mov esp, ebp
pop ebp
ret
push 4
call fcn.00404dc0
push 6
mov dword [edi], 0
call fcn.00407a93
push 1
call fcn.00407a93
push 5
call fcn.00407a93
push 2
call fcn.00407a93
int3