Function at 0x1002a110
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004ef17
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x123c
call fcn.10036fa0
mov eax, dword [0x1005d330]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0
push 0x10050713
mov ecx, esi
mov dword [esp + 0x124c], eax
call fcn.10002bf0
xor eax, eax
mov byte [esp + 0x30], 0
mov ecx, 0x41
lea edi, [esp + 0x31]
rep stosd dword es:[edi], eax
push 0x105
lea eax, [esp + 0x34]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x30]
push 0x5c
push ecx
call fcn.10037c60
mov byte [eax], 0
xor eax, eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x144], 0
mov ecx, 0x41
lea edi, [esp + 0x145]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x144]
push str._sCCProxy.ini
push eax
call fcn.10036e11
mov ebx, dword [ebp + 0xc]
mov eax, ebx
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002a1c3
sub eax, edx
mov dword [esp + 0x20], eax
je 0x1002a8fa
mov eax, ebx
lea edx, [eax + 1]
jmp 0x1002a1e0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002a1e0
sub eax, edx
cmp eax, 0xc
je 0x1002a2d7
lea ecx, [esp + 0x10]
push str.Sorry._Registration_Failed_
push ecx
call fcn.1000e2c0
mov edi, eax
lea edx, [esp + 0x1c]
push str.Sorry._Registration_Failed_
push edx
mov dword [esp + 0x1264], 0
call fcn.1000e2c0
push 0x100506d0
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x1270], 1
call fcn.1000d420
push edi
push eax
lea ecx, [esp + 0x30]
mov bl, 2
push ecx
mov byte [esp + 0x127c], bl
call fcn.10013d00
add esp, 0x28
push eax
mov ecx, esi
mov byte [esp + 0x1258], 3
call fcn.10008ec0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x1254], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1002a282
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x1254], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002a2a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1254], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002a2ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
jmp 0x1002a8d5
push 4
lea eax, [esp + 0x20]
push eax
push 3
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov ecx, dword [ebp + 8]
push str.888888888888
push ebx
push ecx
call fcn.10029ca0
add esp, 0xc
test eax, eax
jne 0x1002a8fc
mov byte [esp + 0x640], al
mov ecx, 0xff
lea edi, [esp + 0x641]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [esp + 0xa40], 0
xor eax, eax
mov ecx, 0xff
lea edi, [esp + 0xa41]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0xe40]
push edx
stosb byte es:[edi], al
call fcn.10028e00
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
jle 0x1002a4c1
lea esi, [esp + 0xe44]
xor eax, eax
mov al, byte [esi + 1]
xor ecx, ecx
mov cl, byte [esi]
xor edx, edx
mov dl, byte [esi - 1]
add eax, 8
and eax, 0xff
push eax
add ecx, 8
and ecx, 0xff
push ecx
add edx, 8
and edx, 0xff
push edx
xor eax, eax
mov al, byte [esi - 2]
xor ecx, ecx
mov cl, byte [esi - 3]
xor edx, edx
mov dl, byte [esi - 4]
add eax, 8
and eax, 0xff
push eax
add ecx, 8
and ecx, 0xff
push ecx
add edx, 8
and edx, 0xff
push edx
lea eax, [esp + 0x658]
push str._02x_02x_02x_02x_02x_02x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x660]
push ecx
push ebx
push edx
call fcn.10029ca0
mov dword [esp + 0x44], eax
xor eax, eax
mov byte [esp + 0x26c], 0
mov ecx, 0xff
lea edi, [esp + 0x26d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x66c]
push eax
lea ecx, [esp + 0x270]
push ebx
push ecx
call fcn.10029750
add esp, 0x38
test eax, eax
mov eax, dword [esp + 0x18]
je 0x1002a49e
test eax, eax
jne 0x1002a5cf
cmp byte [esp + 0x240], 0x2d
jne 0x1002a458
push 0x400
lea edx, [esp + 0x245]
push edx
lea eax, [esp + 0xa48]
push eax
call fcn.10037b30
add esp, 0xc
mov byte [esp + 0xe3f], 0
jmp 0x1002a4a6
lea ecx, [esp + 0x640]
push ecx
lea edx, [esp + 0x244]
push ebx
push edx
call fcn.10029ca0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1002a4a6
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x244]
push ecx
push str.RegCode
push str.System
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, edi
jmp 0x1002a8fc
test eax, eax
jne 0x1002a8fc
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
inc eax
add esi, 0x10
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x1002a363
mov esi, dword [ebp + 0x10]
mov al, byte [esp + 0xa40]
test al, al
push 0x10052be4
je 0x1002a73b
lea edx, [esp + 0x20]
push edx
call fcn.1003ebdf
add esp, 8
test eax, eax
push str.Sorry._Registration_Failed_
je 0x1002a68f
lea eax, [esp + 0x1c]
push eax
call fcn.1000e2c0
mov edi, eax
lea ecx, [esp + 0x14]
push str.Sorry._Registration_Failed_
push ecx
mov dword [esp + 0x1264], 7
call fcn.1000e2c0
push 0x100506d0
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x1270], 8
call fcn.1000d420
push edi
push eax
lea eax, [esp + 0x34]
mov bl, 9
push eax
mov byte [esp + 0x127c], bl
call fcn.10013d00
add esp, 0x28
push eax
mov ecx, esi
mov byte [esp + 0x1258], 0xa
call fcn.10008ec0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x1254], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002a57a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1254], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002a5a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x1254], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002a5c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
jmp 0x1002a8d5
cmp byte [esp + 0x240], 0x2d
jne 0x1002a8fc
lea eax, [esp + 0xc]
push str.Sorry._Registration_Failed_
push eax
call fcn.1000e2c0
push 0x100506d0
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x1268], 4
call fcn.1000d420
lea edx, [esp + 0x255]
push edx
push eax
lea eax, [esp + 0x2c]
mov bl, 5
push eax
mov byte [esp + 0x1274], bl
call fcn.1000d420
add esp, 0x20
mov ecx, dword [ebp + 0x10]
push eax
mov byte [esp + 0x1258], 6
call fcn.10008ec0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x1254], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002a65c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1254], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002a7f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
jmp 0x1002a8d5
lea eax, [esp + 0x10]
push eax
call fcn.1000e2c0
push 0x100506d0
push eax
lea ecx, [esp + 0x24]
mov ebx, 0xb
push ecx
mov dword [esp + 0x1268], ebx
call fcn.1000d420
lea edx, [esp + 0xa54]
push edx
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x1274], 0xc
call fcn.1000d420
add esp, 0x20
push eax
mov ecx, esi
mov byte [esp + 0x1258], 0xd
call fcn.10008ec0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x1254], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002a709
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1254], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002a7f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
jmp 0x1002a8d5
lea eax, [esp + 0x20]
push eax
call fcn.1003ebdf
add esp, 8
test eax, eax
push str.Sorry._Registration_Failed_
jne 0x1002a7fa
lea ecx, [esp + 0x10]
push ecx
call fcn.1000e2c0
push 0x100506d0
push eax
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x1268], 0xe
call fcn.1000d420
push 0x10052b50
push eax
lea eax, [esp + 0x2c]
mov bl, 0xf
push eax
mov byte [esp + 0x1274], bl
call fcn.1000d420
add esp, 0x20
push eax
mov ecx, esi
mov byte [esp + 0x1258], 0x10
call fcn.10008ec0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x1254], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002a7cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1254], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002a7f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
jmp 0x1002a8d5
lea eax, [esp + 0x24]
push eax
call fcn.1000e2c0
mov edi, eax
lea ecx, [esp + 0x2c]
push str.Sorry._Registration_Failed_
push ecx
mov dword [esp + 0x1264], 0x11
call fcn.1000e2c0
push 0x100506d0
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x1270], 0x12
call fcn.1000d420
push edi
push eax
lea eax, [esp + 0x50]
mov bl, 0x13
push eax
mov byte [esp + 0x127c], bl
call fcn.10013d00
add esp, 0x28
push eax
mov ecx, esi
mov byte [esp + 0x1258], 0x14
call fcn.10008ec0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x1254], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002a885
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x1254], 0x12
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002a8ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x1254], 0x11
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002a8d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x1254], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002a8fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x124c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1244]
call fcn.10036c09
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret