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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59c6f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
mov eax, dword [0x61c924]
push ebx
push esi
mov ebx, ecx
mov esi, 0x61c924
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 [0x61c924]
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 [0x6206d0]
mov eax, dword [eax - 0xc]
cmp eax, edi
jne 0x47d8d3
lea eax, [esp + 0x10]
push eax
call fcn.0045aab2
test eax, eax
pop ecx
je 0x47d96f
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], edi
je 0x47d8d3
lea eax, [esp + 0x10]
mov edi, 0x6206d0
call fcn.004013bf
xor edi, edi
mov eax, dword [0x6206d0]
cmp dword [eax - 0xc], edi
je 0x47d96f
push eax
lea esi, [esp + 0x24]
call fcn.00495e15
push str.cityid
lea eax, [esp + 0x40]
push eax
call fcn.00496053
mov byte [esp + 0xe4], 3
call fcn.00494d73
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00432365
push 0x5f1798
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0xec], 2
call fcn.00496053
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
je 0x47d96f
push dword [esp + 0x14]
push eax
call fcn.0049f664
test eax, eax
pop ecx
pop ecx
jne 0x47d96f
mov eax, dword [ebx + 8]
cmp eax, edi
jle 0x47d96b
cmp eax, 0x64
jge 0x47d96f
push edi
call fcn.0049fd68
pop ecx
push eax
call fcn.004a1424
pop ecx
call fcn.004a1431
push 0x65
cdq
pop ecx
idiv ecx
cmp edx, dword [ebx + 8]
jl 0x47d96f
mov dword [esp + 0x18], edi
mov esi, dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
push esi
push eax
call fcn.0049f664
test eax, eax
pop ecx
pop ecx
jne 0x47da6e
mov ebx, dword [ebx + 0xc]
cmp dword [ebx - 0xc], edi
je 0x47da6e
cmp dword [esi - 0xc], edi
je 0x47da6e
push ebx
call fcn.0049da81
pop ecx
lea edi, [esp + 0x48]
mov ebx, eax
call fcn.00433984
mov byte [esp + 0xe4], 4
push dword [0x620650]
mov esi, 0x5e9b00
push esi
lea eax, [esp + 0xa0]
call fcn.00432306
push dword [0x620654]
lea eax, [esp + 0xa8]
push esi
call fcn.00432306
add esp, 0x10
push dword [0x620678]
lea eax, [esp + 0xa8]
push eax
call fcn.00432365
push dword [0x62067c]
lea eax, [esp + 0xb0]
push eax
call fcn.00432365
call fcn.0048461a
mov dword [esp + 0x60], eax
lea eax, [esp + 0x1c]
push eax
call fcn.00486b54
pop ecx
mov byte [esp + 0xe4], 5
push dword [eax]
lea eax, [esp + 0xac]
push eax
call fcn.00432365
mov byte [esp + 0xe4], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.004011c0
push dword [0x6206d0]
mov ecx, edi
push dword [esp + 0x1c]
mov dword [esp + 0x70], 3
push ebx
push 4
push 0x1e
call fcn.00433d01
mov ecx, edi
call fcn.00433a65
lea ecx, [esp + 0x20]
mov byte [esp + 0xe4], 1
call fcn.00495dd2
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