Function at 0x42b4a0
Capabilities:
Get geographical location
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x5a2a06
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x2d8]
mov dword fs:[0], eax
xor ebx, ebx
xor esi, esi
call fcn.00472c20
test eax, eax
jne 0x42b4f5
call fcn.00472cc0
test eax, eax
je 0x42b965
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x18]
push eax
push 0x5b2578
push 1
push ebx
push 0x5b2718
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x42b95f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
test eax, eax
jl 0x42b953
xor esi, esi
cmp dword [esp + 0x34], ebx
mov dword [esp + 0x2c], esi
jbe 0x42b943
lea ebx, [ebx]
push 0x206
lea ecx, [esp + 0xd2]
push ebx
push ecx
mov word [esp + 0xd8], bx
call fcn.00580260
mov eax, dword [esp + 0x2c]
movzx ecx, word [eax + esi*2]
add esp, 0xc
push 0x104
lea edx, [esp + 0xd0]
push edx
push 2
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42b59e
lea edx, [esp + 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], ebx
movzx edx, word [edx + esi*2]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
cmp eax, ebx
jl 0x42b932
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x48]
push edx
push 1
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x42b932
jmp 0x42b5f0
mov eax, 0x10
mov ecx, str.c_t4
lea edx, [esp + 0x58]
mov edi, edi
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x42b618
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x42b600
cmp eax, ebx
je 0x42b675
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x42b667
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x42b675
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x42b667
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x42b675
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x42b667
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x42b675
movzx esi, byte [edx]
movzx ecx, byte [ecx]
sub esi, ecx
je 0x42b675
cmp esi, ebx
mov eax, 1
jg 0x42b677
or eax, 0xffffffff
jmp 0x42b677
xor eax, eax
cmp eax, ebx
jne 0x42b90c
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
mov edx, dword [edx + 0x48]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x5c]
push ecx
lea ecx, [esp + 0x50]
push ecx
push eax
call edx
test eax, eax
jne 0x42b90c
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x70]
push edx
mov edx, dword [esp + 0x5c]
push edx
lea edx, [esp + 0x50]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x34]
call fcn.00404460
mov dword [esp + 0x2e0], ebx
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
mov edx, dword [0x5fcd20]
lea esi, [eax + 0x10]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
mov dword [esp + 0xb8], esi
call eax
add eax, 0x10
mov dword [esp + 0xbc], eax
mov byte [esp + 0x2e0], 1
mov ecx, dword [esp + 0x28]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x42b76d
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x42b75d
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42b75d
call fcn.00403ce0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x42b751
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0xb8], ebx
jmp 0x42b76d
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0xbc]
call fcn.00404050
mov dword [esp + 0x7c], 1
mov ecx, 0xe
lea esi, [esp + 0x44]
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc8], ecx
push 0x5fff68
lea ecx, [esp + 0x2c]
call fcn.00431790
mov ebp, eax
mov eax, dword [esp + 0xb8]
lea edi, [ebp + 4]
mov ecx, 0xe
lea esi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp + 0x3c]
mov dword [ebp], 1
mov esi, dword [edi]
lea ebx, [eax - 0x10]
sub esi, 0x10
cmp ebx, esi
mov dword [esp + 0x38], ebx
je 0x42b81e
cmp dword [esi + 0xc], 0
jl 0x42b80f
mov edx, dword [ebx]
cmp edx, dword [esi]
jne 0x42b80f
mov eax, ebx
call fcn.00403ce0
mov dword [esp + 0x24], eax
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b804
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x24]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x42b81e
mov ebx, dword [eax - 0xc]
push eax
mov eax, edi
call fcn.00404050
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0xbc]
mov esi, dword [ebp + 0x40]
lea eax, [ebp + 0x40]
lea edi, [ecx - 0x10]
sub esi, 0x10
cmp edi, esi
je 0x42b87e
cmp dword [esi + 0xc], 0
jl 0x42b871
mov edx, dword [edi]
cmp edx, dword [esi]
jne 0x42b871
mov eax, edi
call fcn.00403ce0
mov dword [esp + 0x24], eax
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b865
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x24]
add ecx, 0x10
mov dword [ebp + 0x40], ecx
jmp 0x42b87e
mov ebx, dword [ecx - 0xc]
push ecx
call fcn.00404050
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov dword [ebp + 0x44], edx
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], ecx
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x2e0], 0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b8c8
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b8e1
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [esp + 0x2e0], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b90c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x48]
push edx
push 1
push eax
mov eax, dword [ecx + 0x10]
call eax
xor ebx, ebx
test eax, eax
je 0x42b5f0
mov esi, dword [esp + 0x2c]
add esi, 1
cmp esi, dword [esp + 0x34]
mov dword [esp + 0x2c], esi
jb 0x42b550
mov ecx, dword [esp + 0x20]
push ecx
mov esi, 1
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov ecx, dword [esp + 0x2d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.005787fd
add esp, 0x2d0
ret