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

Disassembly:
push ebp
lea ebp, [esp - 0x7c]
sub esp, 0x7c
push 0xffffffffffffffff
push 0x5b781c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x60e070]
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 0x5df25f
push 0x5df254
mov ecx, esi
call fcn.00515230
test eax, eax
jne 0x4f766d
call fcn.00510d10
lea ecx, [ebp + 0x30]
push ecx
mov ecx, eax
call fcn.005131b0
mov dword [ebp - 4], 0
mov ecx, esi
push 0x5df2a0
push str.commentStyle
call fcn.00515230
test eax, eax
jne 0x4f7699
call fcn.00510d10
lea ecx, [ebp]
push ecx
mov ecx, eax
call fcn.005131b0
mov byte [ebp - 4], 1
mov ecx, esi
push 0x5df2bb
push str.enableYAMLCompatibility
call fcn.00515230
test eax, eax
jne 0x4f76c2
call fcn.00510d10
mov ecx, eax
call fcn.00513fd0
push 0x5df27c
push str.dropNullPlaceholders
mov ecx, esi
mov bl, al
call fcn.00515230
test eax, eax
jne 0x4f76e5
call fcn.00510d10
mov ecx, eax
call fcn.00513fd0
push 0x5df290
push str.useSpecialFloats
mov ecx, esi
mov bh, al
call fcn.00515230
test eax, eax
jne 0x4f7708
call fcn.00510d10
mov ecx, eax
call fcn.00513fd0
push 0x5df2f5
push str.precision
mov ecx, esi
mov byte [ebp - 0xe], al
call fcn.00515230
test eax, eax
jne 0x4f772c
call fcn.00510d10
mov ecx, eax
call fcn.00513520
lea ecx, [ebp]
mov dword [ebp - 0x14], eax
call fcn.0040d600
mov ecx, eax
mov edx, ecx
mov edi, dword [ecx + 0x14]
cmp edi, 0x10
jb 0x4f774c
mov edx, dword [ecx]
mov esi, dword [ecx + 0x10]
cmp esi, 3
jne 0x4f7769
movzx eax, word [edx]
cmp ax, 0x6c41
jne 0x4f7769
movzx eax, byte [edx + 2]
cmp al, 0x6c
jne 0x4f7769
mov al, 1
jmp 0x4f776b
xor al, al
test al, al
je 0x4f7776
mov edi, 2
jmp 0x4f779a
cmp edi, 0x10
jb 0x4f777d
mov ecx, dword [ecx]
cmp esi, 4
jne 0x4f778e
cmp dword [ecx], 0x656e6f4e
jne 0x4f778e
mov al, 1
jmp 0x4f7790
xor al, al
test al, al
je 0x4f799e
xor edi, edi
lea ecx, [ebp + 0x60]
call fcn.0040d650
lea ecx, [ebp + 0x60]
call fcn.0040d610
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.0040a490
add esp, 8
lea ecx, [ebp + 0x60]
push 3
push 0x5df23c
call fcn.00416fd0
mov byte [ebp - 4], 3
test bl, bl
je 0x4f77e9
push 2
push 0x5dc814
jmp 0x4f77fc
lea ecx, [ebp + 0x30]
call fcn.0040d3b0
test eax, eax
jne 0x4f7804
push 1
push 0x5df220
lea ecx, [ebp + 0x60]
call fcn.00416fd0
lea ecx, [ebp + 0x48]
call fcn.0040d650
lea ecx, [ebp + 0x48]
call fcn.0040d610
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.0040a490
add esp, 8
lea ecx, [ebp + 0x48]
push 4
push str.null
call fcn.00416fd0
mov byte [ebp - 4], 4
test bh, bh
je 0x4f786c
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 0xd], 0
mov dword [esi + 0x10], 0
jb 0x4f785f
mov esi, dword [esi]
lea eax, [ebp - 0xd]
push eax
push esi
call fcn.0040a490
add esp, 8
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp + 0x18]
mov eax, 0x11
cmp ebx, eax
cmova ebx, eax
call fcn.0040d460
mov byte [ebp - 4], 5
push 0x9c
call fcn.0053f5f8
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.0040d460
mov byte [ebp - 4], 9
lea eax, [ebp + 0x30]
push eax
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], 0x4a
call fcn.00477360
mov byte [ebp - 4], 0xa
lea eax, [ebp + 0x60]
push eax
lea ecx, [esi + 0x4c]
mov dword [esi + 0x48], edi
call fcn.00477360
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0x48]
push eax
lea ecx, [esi + 0x64]
call fcn.00477360
mov byte [ebp - 4], 0xc
lea eax, [ebp + 0x18]
push eax
lea ecx, [esi + 0x7c]
call fcn.00477360
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.0040d3d0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x48]
call fcn.0040d3d0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x60]
call fcn.0040d3d0
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.0040d3d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
call fcn.0040d3d0
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.0053f5d9
lea esp, [ebp + 0x7c]
pop ebp
ret
push str.commentStyle_must_be_All_or_None
lea ecx, [ebp - 0x2c]
call fcn.00416c20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00511a00
int3