Function at 0x404bb0
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x44]
sub esp, 0x44
push 0xffffffffffffffff
push 0x47434a
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x4931b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp + 0x38], ecx
xor eax, eax
mov dword [ebp + 0x40], eax
push 0xc
mov dword [ebp - 4], eax
push 0x479c3c
lea ecx, [ebp + 4]
mov byte [ebp - 4], 1
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], eax
mov word [ebp + 8], ax
call fcn.0040b780
mov ebx, dword [ebp + 0x64]
mov edi, dword [ebp + 0x4c]
lea ecx, [ebp + 4]
push ecx
lea edx, [ebp + 0x30]
push edx
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 2
mov dword [ebp + 0x40], 1
call fcn.0040b0d0
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x404c3c
cmp eax, edi
je 0x404c41
call fcn.00456648
xor edi, edi
cmp dword [esi + 4], ebx
je 0x404c8d
push 0xc
xor eax, eax
push 0x479c58
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
call fcn.0040b780
lea ecx, [ebp - 0x2c]
mov eax, 3
push ecx
lea ecx, [ebp + 0x4c]
mov dword [ebp - 4], eax
mov dword [ebp + 0x40], eax
call fcn.0040ddd0
mov ecx, dword [eax]
call fcn.00414d00
test al, al
je 0x404c8d
mov bl, 1
jmp 0x404c8f
xor bl, bl
test byte [ebp + 0x40], 2
mov esi, 8
je 0x404cbf
and dword [ebp + 0x40], 0xfffffffd
cmp dword [ebp - 0x14], esi
jb 0x404caf
mov edx, dword [ebp - 0x28]
push edx
call fcn.00433e2f
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
test byte [ebp + 0x40], 1
mov dword [ebp - 4], 1
je 0x404ce1
and dword [ebp + 0x40], 0xfffffffe
cmp dword [ebp + 0x1c], esi
jb 0x404ce1
mov ecx, dword [ebp + 8]
push ecx
call fcn.00433e2f
add esp, 4
test bl, bl
je 0x405362
push 0xc
xor edx, edx
push str.downloadinfo
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x80], 7
mov dword [ebp - 0x84], edi
mov word [ebp - 0x94], dx
call fcn.0040b780
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 4
call fcn.0040ddd0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [eax]
call fcn.00415000
mov byte [ebp - 4], 6
cmp dword [ebp - 0x80], esi
jb 0x404d47
mov edx, dword [ebp - 0x94]
push edx
call fcn.00433e2f
add esp, 4
xor eax, eax
xor esi, esi
mov dword [ebp - 0x80], 7
mov dword [ebp - 0x84], edi
mov word [ebp - 0x94], ax
mov dword [ebp + 0x2c], esi
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp + 0x38]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jae 0x405340
mov ecx, dword [eax + esi*4]
lea edx, [ebp - 0x64]
push edx
call fcn.004151d0
push str.downloadurl
sub esp, 0x20
lea eax, [ebp - 0x64]
mov dword [ebp + 0x28], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 7
call fcn.0040da40
lea ecx, [ebp - 0x40]
push ecx
mov ecx, ebx
call fcn.00403290
mov edx, dword [ebp + 0x6c]
imul edx, edx, 0x498
lea ecx, [esi + esi*4]
lea esi, [edx + ecx*8]
lea ecx, [esi + 0x494a84]
push eax
mov byte [ebp - 4], 8
mov dword [ebp + 0x28], esi
call fcn.00409ca0
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404dee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.exename
sub esp, 0x20
lea edx, [ebp - 0x64]
mov dword [ebp + 0x34], esp
mov ecx, esp
push edx
call fcn.0040da40
lea eax, [ebp - 0x44]
push eax
mov ecx, ebx
call fcn.00403290
lea ecx, [esi + 0x494a88]
push eax
mov byte [ebp - 4], 9
call fcn.00409ca0
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404e42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x479cb8
sub esp, 0x20
lea edx, [ebp - 0x64]
mov dword [ebp + 0x34], esp
mov ecx, esp
push edx
call fcn.0040da40
lea eax, [ebp - 0x34]
push eax
mov ecx, ebx
call fcn.00403290
lea ecx, [esi + 0x494a8c]
push eax
mov byte [ebp - 4], 0xa
call fcn.00409ca0
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404e96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x479cc4
sub esp, 0x20
lea edx, [ebp - 0x64]
mov dword [ebp + 0x34], esp
mov ecx, esp
push edx
call fcn.0040da40
lea eax, [ebp - 0x30]
push eax
mov ecx, ebx
call fcn.00403290
lea ecx, [esi + 0x494a94]
push eax
mov byte [ebp - 4], 0xb
call fcn.00409ca0
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404eea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x479cd4
sub esp, 0x20
lea edx, [ebp - 0x64]
mov dword [ebp + 0x34], esp
mov ecx, esp
push edx
call fcn.0040da40
lea eax, [ebp - 0x38]
push eax
mov ecx, ebx
call fcn.00403290
lea ecx, [esi + 0x494a98]
push eax
mov byte [ebp - 4], 0xc
call fcn.00409ca0
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404f3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.post_install_check
sub esp, 0x20
lea edx, [ebp - 0x64]
mov dword [ebp + 0x34], esp
mov ecx, esp
push edx
call fcn.0040da40
lea eax, [ebp + 0x20]
push eax
mov ecx, ebx
call fcn.00403290
lea ecx, [ebp + 0x20]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0xd
call fcn.00402590
lea edx, [ebp + 0x20]
lea ecx, [esi + 0x494a9c]
push edx
call fcn.00409ca0
push str.switches
sub esp, 0x20
lea eax, [ebp - 0x64]
mov dword [ebp + 0x34], esp
mov ecx, esp
push eax
call fcn.0040da40
lea ecx, [ebp + 0x3c]
push ecx
mov ecx, ebx
call fcn.00403290
lea edx, [ebp + 0x3c]
push edx
mov ecx, ebx
mov byte [ebp - 4], 0xe
call fcn.00402300
lea eax, [ebp + 0x3c]
push eax
mov ecx, ebx
call fcn.00402590
lea edx, [ebp + 0x3c]
lea ecx, [esi + 0x494a90]
push edx
call fcn.00409ca0
push 0x15
xor eax, eax
push 0x479d20
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], edi
mov word [ebp - 0xb0], ax
call fcn.0040b780
or dword [ebp + 0x40], 4
mov ebx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x64]
lea ecx, [ebp - 0xb4]
push ecx
lea edx, [ebp - 0xbc]
push edx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xf
call fcn.0040b0d0
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x405022
cmp eax, edi
je 0x405027
call fcn.00456648
cmp dword [esi + 4], ebx
je 0x405075
push 0x15
xor eax, eax
push 0x479d4c
lea ecx, [ebp + 4]
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
call fcn.0040b780
or dword [ebp + 0x40], 8
lea ecx, [ebp + 4]
push ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x10
call fcn.0040ddd0
mov ecx, dword [eax]
call fcn.00414d00
test al, al
je 0x405075
mov bl, 1
jmp 0x405077
xor bl, bl
test byte [ebp + 0x40], 8
mov edi, 8
je 0x4050ae
and dword [ebp + 0x40], 0xfffffff7
cmp dword [ebp + 0x1c], edi
jb 0x405097
mov edx, dword [ebp + 8]
push edx
call fcn.00433e2f
add esp, 4
mov esi, 7
xor eax, eax
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
jmp 0x4050b3
mov esi, 7
test byte [ebp + 0x40], 4
mov dword [ebp - 4], 0xe
je 0x4050db
and dword [ebp + 0x40], 0xfffffffb
cmp dword [ebp - 0x9c], edi
jb 0x4050db
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.00433e2f
add esp, 4
test bl, bl
je 0x405263
push 0x15
xor edx, edx
push str.post_install_check_v2
lea ecx, [ebp + 4]
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], 0
mov word [ebp + 8], dx
call fcn.0040b780
lea eax, [ebp + 4]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x11
call fcn.0040ddd0
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [eax]
call fcn.00415000
mov byte [ebp - 4], 0x13
cmp dword [ebp + 0x1c], edi
jb 0x405132
mov edx, dword [ebp + 8]
push edx
call fcn.00433e2f
add esp, 4
mov ecx, dword [ebp - 0x6c]
sub ecx, dword [ebp - 0x70]
xor ebx, ebx
xor eax, eax
sar ecx, 2
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], ebx
mov word [ebp + 8], ax
test ecx, ecx
ja 0x405152
call fcn.00456648
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
lea edx, [ebp - 0xdc]
push edx
call fcn.004151d0
push 0x479da4
sub esp, 0x20
lea edx, [ebp - 0xdc]
mov dword [ebp + 0x34], esp
mov ecx, esp
push edx
mov byte [ebp - 4], 0x14
call fcn.0040da40
mov edi, dword [ebp + 0x38]
lea eax, [ebp + 0x24]
push eax
mov ecx, edi
call fcn.00403290
lea ecx, [ebp + 0x24]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0x15
call fcn.00402590
push 0x479dac
sub esp, 0x20
lea edx, [ebp - 0xdc]
mov dword [ebp + 0x34], esp
mov ecx, esp
push edx
call fcn.0040da40
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.00403290
mov esi, dword [ebp + 0x28]
lea ecx, [esi + 0x494aa0]
push eax
mov byte [ebp - 4], 0x16
call fcn.00409ca0
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x15
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4051f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edx, [ebp + 0x24]
lea ecx, [esi + 0x494aa4]
push edx
call fcn.00409ca0
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405229
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x13
call fcn.0040daf0
mov eax, dword [ebp - 0x70]
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x40524c
push eax
call fcn.00433e2f
add esp, 4
mov ecx, dword [ebp - 0x7c]
push ecx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
call fcn.00433e2f
add esp, 4
jmp 0x405269
mov esi, dword [ebp + 0x28]
mov edi, dword [ebp + 0x38]
push str.execute
sub esp, 0x20
lea edx, [ebp - 0x64]
mov dword [ebp + 0x34], esp
mov ecx, esp
push edx
call fcn.0040da40
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.00403290
mov ecx, dword [ebp]
push 0x479dc8
push ecx
mov byte [ebp - 4], 0x17
call fcn.004569bc
add esp, 8
lea ecx, [esi + 0x494aa8]
test eax, eax
jne 0x4052b2
push 5
push 0x479dd0
jmp 0x4052b9
push 4
push 0x479dd8
call fcn.00408d90
mov eax, dword [ebp]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xe
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4052e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x3c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405304
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405327
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.0040daf0
inc dword [ebp + 0x2c]
mov esi, dword [ebp + 0x2c]
xor edi, edi
jmp 0x404d62
cmp eax, edi
je 0x40534d
push eax
call fcn.00433e2f
add esp, 4
mov ecx, dword [ebp - 0x28]
push ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.00433e2f
add esp, 4
lea ecx, [ebp + 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040daf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x44
mov esp, ebp
pop ebp
ret 0x24