Function at 0x449e90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca7c1
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x51eee0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x13c], edi
mov eax, dword [edi + 0x94]
lea ecx, [edi + 0x94]
cmp dword [eax - 0xc], 0
je 0x44a49a
push 0
push ecx
lea eax, [ebp - 0x130]
push eax
call fcn.00435e40
lea eax, [ebp - 0x124]
push eax
mov dword [ebp - 4], 0
call fcn.00433650
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0040b4a0
mov esi, dword [ebp - 0x124]
add esi, 0xfffffff0
or ebx, 0xffffffff
add esp, 0x18
mov byte [ebp - 0x125], al
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x449f3f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [ebp - 0x125]
test al, al
je 0x449fe2
mov ecx, dword [0x520340]
push str.geo_service_download
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 9
idiv ecx
mov eax, dword [0x5217ac]
mov ecx, 0xd17eab1
cmp edx, 4
cmove eax, ecx
lea ecx, [ebp - 0x12c]
mov dword [0x5217ac], eax
call fcn.0041fcc0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x12c]
push eax
mov ecx, edi
call fcn.0042f540
mov edx, dword [ebp - 0x12c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x449fb5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x130]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x44a49a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x44a49a
mov eax, dword [ebp - 0x130]
cmp dword [eax - 0xc], 0
jne 0x44a004
push str.geo_service_download_returned_empty_string
lea ecx, [ebp - 0x12c]
call fcn.0041fcc0
mov byte [ebp - 4], 2
jmp 0x449f84
lea ecx, [ebp - 0xac]
push 3
mov dword [ebp - 0xb0], ecx
push eax
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 3
call fcn.00429de0
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00401000
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 5
call fcn.0043e830
push 0
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 6
call fcn.00442860
push 1
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 7
call fcn.00440ba0
test al, al
jne 0x44a1c6
call fcn.0044eae0
test al, al
jne 0x44a09f
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push str.geo_service_parse
lea ecx, [ebp - 0x124]
call fcn.0041fcc0
lea eax, [ebp - 0x124]
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0042f540
mov edx, dword [ebp - 0x124]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44a0e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4dbe00
lea ecx, [ebp - 0x124]
call fcn.00401ff0
lea eax, [ebp - 0x124]
push eax
mov byte [ebp - 4], 9
call fcn.00431d20
mov edx, dword [ebp - 0x124]
add edx, 0xfffffff0
add esp, 4
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44a12a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0044eb10
test al, al
jne 0x44a182
mov eax, dword [0x4df1cc]
movq xmm0, qword [str.uhnw2CIcK6Z]
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x158]
movq qword [ebp - 0x158], xmm0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a157
sub eax, edx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a5340
add esp, 4
push eax
call fcn.004a7190
add esp, 4
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 6
call fcn.00442a70
lea ecx, [ebp - 0x120]
call fcn.0041e600
lea ecx, [ebp - 0x2c]
call fcn.00401060
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0xac]
cmp eax, ecx
je 0x449fb5
push eax
call fcn.004a700a
add esp, 4
jmp 0x449fb5
push str.country_name
lea ecx, [ebp - 0x14c]
call fcn.00442d00
mov ecx, eax
call fcn.004433e0
push eax
lea ecx, [ebp - 0x12c]
call fcn.0041fcc0
mov byte [ebp - 4], 0xa
call fcn.0044ea60
test al, al
jne 0x44a271
mov edi, dword [0x520340]
mov eax, edi
cdq
sub eax, edx
xor ecx, ecx
mov ebx, eax
sar ebx, 1
mov esi, 0x84
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x138], ebx
mov edi, edi
test ebx, ebx
jle 0x44a25d
mov eax, edi
cdq
and edx, 3
lea edi, [edx + eax]
sar edi, 2
xor edx, edx
test edi, edi
jle 0x44a24c
mov eax, edx
mov ecx, edi
lea ebx, [ebx]
add esi, eax
dec eax
dec ecx
jne 0x44a240
mov ecx, dword [ebp - 0x124]
add edx, ecx
dec ebx
jne 0x44a232
mov ebx, dword [ebp - 0x138]
mov edi, dword [ebp - 0x134]
inc ecx
mov dword [ebp - 0x124], ecx
cmp ecx, esi
jl 0x44a220
mov edi, dword [ebp - 0x13c]
or ebx, 0xffffffff
mov eax, dword [ebp - 0x12c]
cmp dword [eax - 0xc], 0
jne 0x44a3cf
push str.geo_service_invalid
lea ecx, [ebp - 0x124]
call fcn.0041fcc0
lea eax, [ebp - 0x124]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.0042f540
mov edx, dword [ebp - 0x124]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xa
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44a2c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4dbe00
lea ecx, [ebp - 0x124]
call fcn.00401ff0
lea eax, [ebp - 0x124]
push eax
mov byte [ebp - 4], 0xc
call fcn.00431d20
mov edx, dword [ebp - 0x124]
add edx, 0xfffffff0
add esp, 4
mov byte [ebp - 4], 0xa
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44a30c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x520340]
mov edi, 0xf
lea esi, [ecx + 1]
lea eax, [ecx + 2]
imul eax, esi
imul eax, ecx
cdq
idiv edi
cmp edx, 0xe
jne 0x44a351
sub ecx, 0
je 0x44a347
dec ecx
je 0x44a33b
mov dword [0x520340], esi
jmp 0x44a351
mov dword [0x520340], 0
jmp 0x44a351
mov dword [0x520340], 2
mov edx, dword [ebp - 0x12c]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44a374
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 6
call fcn.00442a70
lea ecx, [ebp - 0x120]
call fcn.0041e600
cmp dword [ebp - 0x18], 0x10
jb 0x44a39f
push dword [ebp - 0x2c]
call fcn.004a5bbe
add esp, 4
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp eax, ecx
je 0x449fb5
push eax
call fcn.004a700a
add esp, 4
jmp 0x449fb5
lea eax, [ebp - 0x12c]
push eax
call fcn.00431d20
mov esi, dword [ebp - 0x12c]
add esi, 0xfffffff0
add esp, 4
mov byte [ebp - 0x125], al
mov byte [ebp - 4], 7
lea ecx, [esi + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a407
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 6
call fcn.00442a70
lea ecx, [ebp - 0x120]
call fcn.0041e600
cmp dword [ebp - 0x18], 0x10
jb 0x44a432
push dword [ebp - 0x2c]
call fcn.004a5bbe
add esp, 4
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp eax, ecx
je 0x44a45d
push eax
call fcn.004a700a
add esp, 4
mov edx, dword [ebp - 0x130]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x44a481
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [ebp - 0x125]
jmp 0x44a49c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a63c4
mov esp, ebp
pop ebp
ret