Function at 0x47d17b
Capabilities:
Access peb ldr_data
Get geographical location
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x599902
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
mov eax, dword [0x619864]
push ebx
push esi
mov ebx, ecx
mov esi, 0x619864
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
xor edi, edi
mov dword [esp + 0xe4], edi
mov eax, dword [0x619864]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
or dword [esp + 0x34], 0xffffffff
or dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x18], 1
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], vtable.cf::BkJson::Document.0
mov dword [esp + 0x2c], vtable.cf::BkJson::Error.0
mov dword [esp + 0x30], edi
mov byte [esp + 0xe4], 2
mov eax, dword [0x61d610]
mov eax, dword [eax - 0xc]
cmp eax, edi
jne 0x47d23f
lea eax, [esp + 0x10]
push eax
call fcn.0045a28d
test eax, eax
pop ecx
je 0x47d2db
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], edi
je 0x47d23f
lea eax, [esp + 0x10]
mov edi, 0x61d610
call fcn.004013b4
xor edi, edi
mov eax, dword [0x61d610]
cmp dword [eax - 0xc], edi
je 0x47d2db
push eax
lea esi, [esp + 0x24]
call fcn.00493f7d
push str.cityid
lea eax, [esp + 0x40]
push eax
call fcn.004941bb
mov byte [esp + 0xe4], 3
call fcn.00492edb
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00432279
push 0x5ee6e8
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0xec], 2
call fcn.004941bb
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
je 0x47d2db
push dword [esp + 0x14]
push eax
call fcn.0049cb04
test eax, eax
pop ecx
pop ecx
jne 0x47d2db
mov eax, dword [ebx + 8]
cmp eax, edi
jle 0x47d2d7
cmp eax, 0x64
jge 0x47d2db
push edi
call fcn.0049d208
pop ecx
push eax
call fcn.0049e8c4
pop ecx
call fcn.0049e8d1
push 0x65
cdq
pop ecx
idiv ecx
cmp edx, dword [ebx + 8]
jl 0x47d2db
mov dword [esp + 0x18], edi
mov esi, dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
push esi
push eax
call fcn.0049cb04
test eax, eax
pop ecx
pop ecx
jne 0x47d3da
mov ebx, dword [ebx + 0xc]
cmp dword [ebx - 0xc], edi
je 0x47d3da
cmp dword [esi - 0xc], edi
je 0x47d3da
push ebx
call fcn.0049af16
pop ecx
lea edi, [esp + 0x48]
mov ebx, eax
call fcn.00433869
mov byte [esp + 0xe4], 4
push dword [0x61d590]
mov esi, 0x5e6b00
push esi
lea eax, [esp + 0xa0]
call fcn.0043221a
push dword [0x61d594]
lea eax, [esp + 0xa8]
push esi
call fcn.0043221a
add esp, 0x10
push dword [0x61d5b8]
lea eax, [esp + 0xa8]
push eax
call fcn.00432279
push dword [0x61d5bc]
lea eax, [esp + 0xb0]
push eax
call fcn.00432279
call fcn.004828dc
mov dword [esp + 0x60], eax
lea eax, [esp + 0x1c]
push eax
call fcn.00484e12
pop ecx
mov byte [esp + 0xe4], 5
push dword [eax]
lea eax, [esp + 0xac]
push eax
call fcn.00432279
mov byte [esp + 0xe4], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.004011c0
push dword [0x61d610]
mov ecx, edi
push dword [esp + 0x1c]
mov dword [esp + 0x70], 3
push ebx
push 4
push 0x1e
call fcn.00433be1
mov ecx, edi
call fcn.00433945
lea ecx, [esp + 0x20]
mov byte [esp + 0xe4], 1
call fcn.00493f3a
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [esp + 0xdc]
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret