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

Disassembly:
push 0xffffffffffffffff
push 0x6029c6
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x2d8]
mov dword fs:[0], eax
xor ebx, ebx
xor esi, esi
call fcn.00478e90
test eax, eax
jne 0x42aa85
call fcn.00478f30
test eax, eax
je 0x42aef5
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x18]
push eax
push 0x616648
push 1
push ebx
push 0x6167e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x42aeef
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 0x42aee3
xor esi, esi
cmp dword [esp + 0x34], ebx
mov dword [esp + 0x2c], esi
jbe 0x42aed3
lea ebx, [ebx]
push 0x206
lea ecx, [esp + 0xd2]
push ebx
push ecx
mov word [esp + 0xd8], bx
call fcn.005da970
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 0x42ab2e
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 0x42aec2
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 0x42aec2
jmp 0x42ab80
mov eax, 0x10
mov ecx, str.c_t4
lea edx, [esp + 0x58]
mov edi, edi
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x42aba8
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x42ab90
cmp eax, ebx
je 0x42ac05
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x42abf7
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x42ac05
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x42abf7
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x42ac05
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x42abf7
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x42ac05
movzx esi, byte [edx]
movzx ecx, byte [ecx]
sub esi, ecx
je 0x42ac05
cmp esi, ebx
mov eax, 1
jg 0x42ac07
or eax, 0xffffffff
jmp 0x42ac07
xor eax, eax
cmp eax, ebx
jne 0x42ae9c
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 0x42ae9c
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.00409dd0
mov dword [esp + 0x2e0], ebx
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
mov edx, dword [0x677600]
lea esi, [eax + 0x10]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
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 0x42acfd
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x42aced
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42aced
call fcn.0040a210
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x42ace1
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 0x42acfd
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0xbc]
call fcn.004037a0
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 0x67ba48
lea ecx, [esp + 0x2c]
call fcn.004317e0
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 0x42adae
cmp dword [esi + 0xc], 0
jl 0x42ad9f
mov edx, dword [ebx]
cmp edx, dword [esi]
jne 0x42ad9f
mov eax, ebx
call fcn.0040a210
mov dword [esp + 0x24], eax
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42ad94
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 0x42adae
mov ebx, dword [eax - 0xc]
push eax
mov eax, edi
call fcn.004037a0
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 0x42ae0e
cmp dword [esi + 0xc], 0
jl 0x42ae01
mov edx, dword [edi]
cmp edx, dword [esi]
jne 0x42ae01
mov eax, edi
call fcn.0040a210
mov dword [esp + 0x24], eax
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42adf5
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 0x42ae0e
mov ebx, dword [ecx - 0xc]
push ecx
call fcn.004037a0
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 0x42ae58
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 0x42ae71
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 0x42ae9c
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 0x42ab80
mov esi, dword [esp + 0x2c]
add esi, 1
cmp esi, dword [esp + 0x34]
mov dword [esp + 0x2c], esi
jb 0x42aae0
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.005d28b3
add esp, 0x2d0
ret