Function at 0x504280
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap force flags

Disassembly:
push ebp
lea ebp, [esp - 0x7c]
sub esp, 0x7c
push 0xffffffffffffffff
push 0x59cd1b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x62f018]
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
mov esi, ecx
mov ecx, 0x6355a1
call fcn.00561ea5
push 0x5d2f73
add esi, 8
push 0x5d2f68
mov ecx, esi
call fcn.00513d40
test eax, eax
jne 0x5042d9
call fcn.00510c60
lea ecx, [ebp]
push ecx
mov ecx, eax
call fcn.00512630
mov dword [ebp - 4], 0
mov ecx, esi
push 0x5d2f80
push str.commentStyle
call fcn.00513d40
test eax, eax
jne 0x504305
call fcn.00510c60
lea ecx, [ebp + 0x18]
push ecx
mov ecx, eax
call fcn.00512630
mov byte [ebp - 4], 1
mov ecx, esi
push 0x5d2fe3
push str.enableYAMLCompatibility
call fcn.00513d40
test eax, eax
jne 0x50432e
call fcn.00510c60
mov ecx, eax
call fcn.00513420
push 0x5d2ff8
push str.dropNullPlaceholders
mov ecx, esi
mov bl, al
call fcn.00513d40
test eax, eax
jne 0x504351
call fcn.00510c60
mov ecx, eax
call fcn.00513420
push 0x5d300c
push str.useSpecialFloats
mov ecx, esi
mov bh, al
call fcn.00513d40
test eax, eax
jne 0x504374
call fcn.00510c60
mov ecx, eax
call fcn.00513420
push 0x5d3019
push str.precision
mov ecx, esi
mov byte [ebp - 0xd], al
call fcn.00513d40
test eax, eax
jne 0x504398
call fcn.00510c60
mov ecx, eax
call fcn.005129d0
cmp dword [ebp + 0x2c], 0x10
lea ecx, [ebp + 0x18]
push 3
cmovae ecx, dword [ebp + 0x18]
mov esi, eax
push 0x5d2f94
push dword [ebp + 0x28]
push ecx
call fcn.004dc790
add esp, 0x10
test al, al
je 0x5043ca
mov edi, 2
jmp 0x5043f2
cmp dword [ebp + 0x2c], 0x10
lea eax, [ebp + 0x18]
push 4
cmovae eax, dword [ebp + 0x18]
push str.None
push dword [ebp + 0x28]
push eax
call fcn.004dc790
add esp, 0x10
test al, al
je 0x50463a
xor edi, edi
mov byte [ebp - 4], 7
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0x48]
push 3
push 0x5d2f40
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 0xf
mov byte [ebp + 0x48], 0
call fcn.0040f090
mov byte [ebp - 4], 0xb
test bl, bl
je 0x50443a
push 2
push 0x5d2ec8
jmp 0x504447
cmp dword [ebp + 0x10], 0
jne 0x50444f
push 1
push 0x5d2f54
lea ecx, [ebp + 0x48]
call fcn.0040f090
mov byte [ebp - 4], 0xc
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x74], 0
mov byte [ebp - 4], 0xf
lea ecx, [ebp + 0x60]
push 4
push str.null
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x74], 0xf
mov byte [ebp + 0x60], 0
call fcn.0040f090
mov byte [ebp - 4], 0x10
test bh, bh
je 0x5044a3
cmp dword [ebp + 0x74], 0x10
lea eax, [ebp + 0x60]
mov dword [ebp + 0x70], 0
cmovae eax, dword [ebp + 0x60]
mov byte [eax], 0
mov eax, 0x11
cmp esi, eax
cmova esi, eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], al
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0
mov byte [ebp - 4], 0x14
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0xf
mov byte [ebp + 0x30], 0
mov byte [ebp - 4], 0x15
push 0x9c
call fcn.0052f564
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 0x16
mov dword [esi], vtable.RCJson::StreamWriter.0
mov dword [esi + 4], 0
mov byte [ebp - 4], 0x17
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], 0x18
lea eax, [esi + 0x14]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x19
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 0x1c
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x1d
lea eax, [ebp]
push eax
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], 0x4a
call fcn.004727f0
mov byte [ebp - 4], 0x1e
lea eax, [ebp + 0x48]
push eax
lea ecx, [esi + 0x4c]
mov dword [esi + 0x48], edi
call fcn.004727f0
mov byte [ebp - 4], 0x1f
lea eax, [ebp + 0x60]
push eax
lea ecx, [esi + 0x64]
call fcn.004727f0
mov byte [ebp - 4], 0x20
lea eax, [ebp + 0x30]
push eax
lea ecx, [esi + 0x7c]
call fcn.004727f0
mov byte [ebp - 4], 0x21
mov cl, byte [ebp - 0xd]
mov al, byte [esi + 0x94]
and cl, 1
shl cl, 2
and al, 0xf8
or cl, al
mov eax, dword [ebp - 0x18]
mov byte [esi + 0x94], cl
mov dword [esi + 0x98], eax
mov byte [ebp - 4], 0x22
lea ecx, [ebp + 0x30]
call fcn.00408740
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0x26
lea ecx, [ebp + 0x60]
call fcn.00408740
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0x2a
lea ecx, [ebp + 0x48]
call fcn.00408740
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0x2e
lea ecx, [ebp + 0x18]
call fcn.00408740
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0x32
lea ecx, [ebp]
call fcn.00408740
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
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.0052f553
lea esp, [ebp + 0x7c]
pop ebp
ret
push str.commentStyle_must_be_All_or_None
lea ecx, [ebp + 0x30]
call fcn.0040e8f0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x30]
call fcn.005114c0
int3