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

Disassembly:
push ebp
lea ebp, [esp - 0x7c]
sub esp, 0x7c
push 0xffffffffffffffff
push 0x5b3d7c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp + 0x78], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ecx + 8]
push 0x5dc3e7
push str.indentation
mov ecx, esi
call fcn.00512090
test eax, eax
jne 0x4f44cd
call fcn.0050db70
lea ecx, [ebp + 0x30]
push ecx
mov ecx, eax
call fcn.00510010
mov dword [ebp - 4], 0
mov ecx, esi
push 0x5dc3f4
push str.commentStyle
call fcn.00512090
test eax, eax
jne 0x4f44f9
call fcn.0050db70
lea ecx, [ebp]
push ecx
mov ecx, eax
call fcn.00510010
mov byte [ebp - 4], 1
mov ecx, esi
push 0x5dc3c3
push str.enableYAMLCompatibility
call fcn.00512090
test eax, eax
jne 0x4f4522
call fcn.0050db70
mov ecx, eax
call fcn.00510e30
push 0x5dc3d8
push str.dropNullPlaceholders
mov ecx, esi
mov bl, al
call fcn.00512090
test eax, eax
jne 0x4f4545
call fcn.0050db70
mov ecx, eax
call fcn.00510e30
push 0x5dc414
push str.useSpecialFloats
mov ecx, esi
mov bh, al
call fcn.00512090
test eax, eax
jne 0x4f4568
call fcn.0050db70
mov ecx, eax
call fcn.00510e30
push 0x5dc421
push str.precision
mov ecx, esi
mov byte [ebp - 0xe], al
call fcn.00512090
test eax, eax
jne 0x4f458c
call fcn.0050db70
mov ecx, eax
call fcn.00510380
lea ecx, [ebp]
mov dword [ebp - 0x14], eax
call fcn.0040d4e0
mov ecx, eax
mov edx, ecx
mov edi, dword [ecx + 0x14]
cmp edi, 0x10
jb 0x4f45ac
mov edx, dword [ecx]
mov esi, dword [ecx + 0x10]
cmp esi, 3
jne 0x4f45c9
movzx eax, word [edx]
cmp ax, 0x6c41
jne 0x4f45c9
movzx eax, byte [edx + 2]
cmp al, 0x6c
jne 0x4f45c9
mov al, 1
jmp 0x4f45cb
xor al, al
test al, al
je 0x4f45d6
mov edi, 2
jmp 0x4f45fa
cmp edi, 0x10
jb 0x4f45dd
mov ecx, dword [ecx]
cmp esi, 4
jne 0x4f45ee
cmp dword [ecx], 0x656e6f4e
jne 0x4f45ee
mov al, 1
jmp 0x4f45f0
xor al, al
test al, al
je 0x4f47fe
xor edi, edi
lea ecx, [ebp + 0x60]
call fcn.0040d530
lea ecx, [ebp + 0x60]
call fcn.0040d4f0
lea ecx, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push ecx
push eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
call fcn.0040a4b0
add esp, 8
lea ecx, [ebp + 0x60]
push 3
push 0x5dc37c
call fcn.00416eb0
mov byte [ebp - 4], 3
test bl, bl
je 0x4f4649
push 2
push 0x5d994c
jmp 0x4f465c
lea ecx, [ebp + 0x30]
call fcn.0040d290
test eax, eax
jne 0x4f4664
push 1
push 0x5dc370
lea ecx, [ebp + 0x60]
call fcn.00416eb0
lea ecx, [ebp + 0x48]
call fcn.0040d530
lea ecx, [ebp + 0x48]
call fcn.0040d4f0
mov esi, eax
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0xd]
push eax
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.0040a4b0
add esp, 8
lea ecx, [ebp + 0x48]
push 4
push str.null
call fcn.00416eb0
mov byte [ebp - 4], 4
test bh, bh
je 0x4f46cc
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 0xd], 0
mov dword [esi + 0x10], 0
jb 0x4f46bf
mov esi, dword [esi]
lea eax, [ebp - 0xd]
push eax
push esi
call fcn.0040a4b0
add esp, 8
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp + 0x18]
mov eax, 0x11
cmp ebx, eax
cmova ebx, eax
call fcn.0040d340
mov byte [ebp - 4], 5
push 0x9c
call fcn.0053c458
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 6
mov dword [esi], vtable.RCJson::StreamWriter.0
mov dword [esi + 4], 0
mov byte [ebp - 4], 7
mov dword [esi], vtable.RCJson::BuiltStyledStreamWriter.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [ebp - 4], 8
lea ecx, [esi + 0x14]
call fcn.0040d340
mov byte [ebp - 4], 9
lea eax, [ebp + 0x30]
push eax
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], 0x4a
call fcn.00474a90
mov byte [ebp - 4], 0xa
lea eax, [ebp + 0x60]
push eax
lea ecx, [esi + 0x4c]
mov dword [esi + 0x48], edi
call fcn.00474a90
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0x48]
push eax
lea ecx, [esi + 0x64]
call fcn.00474a90
mov byte [ebp - 4], 0xc
lea eax, [ebp + 0x18]
push eax
lea ecx, [esi + 0x7c]
call fcn.00474a90
mov byte [ebp - 4], 0xd
mov cl, byte [ebp - 0xe]
mov al, byte [esi + 0x94]
and cl, 1
shl cl, 2
and al, 0xf8
or cl, al
mov dword [esi + 0x98], ebx
mov byte [esi + 0x94], cl
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x18]
call fcn.0040d2b0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x48]
call fcn.0040d2b0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x60]
call fcn.0040d2b0
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.0040d2b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
call fcn.0040d2b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x78]
xor ecx, ebp
call fcn.0053c439
lea esp, [ebp + 0x7c]
pop ebp
ret
push str.commentStyle_must_be_All_or_None
lea ecx, [ebp - 0x2c]
call fcn.00416b00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0050e860
int3