Function at 0x10004bd0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x10084ec0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2e0
mov ecx, dword [0x100bbcfc]
push ebp
lea eax, [esp + 0xc8]
push eax
call fcn.1000b0c0
lea ecx, [esp + 0x20]
xor ebp, ebp
push ecx
mov dword [esp + 0x2f0], ebp
call fcn.10016120
add esp, 4
mov byte [esp + 0x2ec], 1
cmp dword [esp + 0xd8], ebp
je 0x1000567c
cmp dword [esp + 0x30], ebp
je 0x1000567c
push ebx
push esi
mov esi, 7
xor edx, edx
push edi
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebp
mov word [esp + 0xb8], dx
xor eax, eax
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebp
mov word [esp + 0x80], ax
mov edx, dword [str.RandomMachineHashTestMode]
mov eax, dword [str.EACore]
lea ecx, [esp + 0x80]
push ecx
mov ecx, dword [0x100bbcd8]
push edx
push eax
mov byte [esp + 0x304], 4
call fcn.1000dd70
lea edi, [ebp + 8]
test al, al
je 0x10004dd4
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x94], edi
jae 0x10004cb6
lea eax, [esp + 0x80]
push 0x10088558
push eax
call fcn.100010a0
add esp, 8
test eax, eax
jne 0x10004dd4
xor ecx, ecx
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebp
mov word [esp + 0x9c], cx
mov bl, 5
push ebp
mov byte [esp + 0x2fc], bl
call dword [sym.imp.MSVCR100.dll__time64]
push eax
call dword [sym.imp.MSVCR100.dll_srand]
call dword [sym.imp.MSVCR100.dll_rand]
push eax
push str.OOA_CGTest__d
lea edx, [esp + 0x20]
push 0x40
push edx
call fcn.100101c0
add esp, 0x18
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2fc], 6
call fcn.10003a10
mov byte [esp + 0x2f8], bl
cmp dword [esp + 0x24], edi
jb 0x10004d45
mov eax, dword [esp + 0x10]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x9c]
cmp dword [esp + 0xb0], edi
jae 0x10004d5c
lea ecx, [esp + 0x9c]
mov eax, dword [esp + 0xd4]
cmp dword [esp + 0xe8], edi
jae 0x10004d73
lea eax, [esp + 0xd4]
mov edx, dword [esp + 0x300]
push edx
push ecx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10004100
add esp, 0x10
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x2fc], 7
call fcn.10003a10
cmp dword [esp + 0x24], edi
jb 0x10004db2
mov ecx, dword [esp + 0x10]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0x2f8], 4
cmp dword [esp + 0xb0], edi
jb 0x10004e8b
mov edx, dword [esp + 0x9c]
push edx
jmp 0x10004e83
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0x10004de3
lea eax, [esp + 0x2c]
push 0xffffffffffffffff
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.1000f950
add esp, 0xc
mov byte [esp + 0x2f8], 8
cmp dword [eax + 0x14], edi
jb 0x10004e05
mov eax, dword [eax]
mov ecx, dword [esp + 0xd4]
cmp dword [esp + 0xe8], edi
jae 0x10004e1c
lea ecx, [esp + 0xd4]
mov edx, dword [esp + 0x300]
push edx
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
call fcn.10004100
add esp, 0x10
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x2fc], 9
call fcn.10003a10
cmp dword [esp + 0x24], edi
jb 0x10004e5b
mov ecx, dword [esp + 0x10]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edx, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebp
mov word [esp + 0x10], dx
mov byte [esp + 0x2f8], 4
cmp dword [esp + 0x104], edi
jb 0x10004e8b
mov eax, dword [esp + 0xf0]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0xb8]
cmp dword [esp + 0xcc], edi
jae 0x10004ea2
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x1c4]
call fcn.10009ed0
push 4
push str.POST
lea ecx, [esp + 0x25c]
mov byte [esp + 0x300], 0xa
call fcn.10002ec0
push 0x1388
lea ecx, [esp + 0x1c4]
call fcn.100099c0
mov dword [esp + 0x78], esi
mov eax, dword [str.GeolocationIPAddress]
xor ecx, ecx
lea edx, [esp + 0x64]
push edx
mov word [esp + 0x68], cx
mov ecx, dword [str.Services]
push eax
push ecx
mov ecx, dword [0x100bbcd8]
mov byte [esp + 0x304], 0xb
mov dword [esp + 0x80], ebp
call fcn.1000dd70
push 0x20
push 3
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.1000ff40
add esp, 0x10
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x2fc], 0xc
call fcn.10003a10
cmp dword [esp + 0x24], edi
jb 0x10004f4d
mov ecx, dword [esp + 0x10]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edx, edx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], dx
mov bl, 0xd
mov byte [esp + 0x2f8], bl
cmp dword [esp + 0x74], ebp
je 0x10004fce
push 0x10
push str.X_Forwarded_For:
lea ecx, [esp + 0x50]
call fcn.10002da0
push 0xf
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.1000fd60
add esp, 0xc
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x304], 0xe
call fcn.10002ca0
mov byte [esp + 0x2f8], bl
cmp dword [esp + 0x24], edi
jb 0x10004fbe
mov edx, dword [esp + 0x10]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push 2
push 0x10088c3c
lea ecx, [esp + 0x50]
call fcn.10002da0
push 0x29
push str.X_Requester_Id:Origin_Online_Activation_r_n
lea ecx, [esp + 0x50]
call fcn.10002da0
mov edx, dword [esp + 0x48]
cmp dword [esp + 0x5c], edi
jae 0x10004fec
lea edx, [esp + 0x48]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x10004ff1
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x278]
call fcn.10002ec0
push ebp
lea ecx, [esp + 0x1c4]
call fcn.1000a780
lea ecx, [esp + 0x1c0]
call fcn.100099f0
sub eax, 0x193
je 0x10005575
sub eax, 6
jne 0x10005486
lea ecx, [esp + 0x1c0]
call fcn.100099e0
push eax
lea ecx, [esp + 0x1c4]
call fcn.100099d0
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.1000f950
add esp, 0xc
mov eax, dword [esp + 0x9c]
mov byte [esp + 0x2f8], 0xf
cmp dword [esp + 0xb0], edi
jae 0x10005084
lea eax, [esp + 0x9c]
push 1
push eax
lea ecx, [esp + 0x114]
push ecx
call fcn.100245c0
add esp, 0xc
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x19c]
push edx
mov edx, dword [eax + 8]
lea ecx, [esp + 0x110]
mov byte [esp + 0x2fc], 0x10
call edx
mov ecx, eax
call fcn.100043f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
mov byte [esp + 0x2f8], 0x11
call eax
cmp dword [eax], ebp
lea ecx, [esp + 0x19c]
setne bl
mov byte [esp + 0x2f8], 0x10
call fcn.10003d20
test bl, bl
je 0x10005126
mov eax, dword [esp + 0x9c]
cmp dword [esp + 0xb0], edi
jae 0x10005106
lea eax, [esp + 0x9c]
push eax
push str.Error_parsing_ConcurrencyGuardCheck_response:__s
push str.CheckConcurrencyGuard
push 1
call fcn.10001510
push eax
call fcn.10009820
add esp, 0x14
jmp 0x100053e3
mov edx, dword [esp + 0x10c]
mov eax, dword [edx + 8]
lea ecx, [esp + 0x10c]
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x44]
push 1
push ebp
push str._code
lea ecx, [esp + 0x13c]
push ecx
mov ecx, eax
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
mov byte [esp + 0x2f8], 0x12
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x38]
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call edx
lea ecx, [esp + 0x130]
mov byte [esp + 0x2f8], 0x14
call fcn.10019ac0
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x24], edi
jae 0x10005193
lea eax, [esp + 0x10]
push str.VALIDATION_FAILED
push eax
call fcn.100010a0
add esp, 8
test eax, eax
jne 0x1000545d
mov eax, dword [esp + 0x10c]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x10c]
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x44]
push 1
push ebp
push str.failure
lea ecx, [esp + 0x184]
push ecx
mov ecx, eax
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
mov byte [esp + 0x2f8], 0x15
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x44]
push 1
push ebp
push str._cause
lea ecx, [esp + 0x160]
push ecx
mov ecx, eax
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
mov byte [esp + 0x2f8], 0x16
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x38]
lea ecx, [esp + 0xf0]
push ecx
mov ecx, eax
call edx
lea ecx, [esp + 0x154]
mov byte [esp + 0x2f8], 0x18
call fcn.10019ac0
lea ecx, [esp + 0x178]
mov byte [esp + 0x2f8], 0x19
call fcn.10019ac0
mov esi, dword [esp + 0x104]
mov ebx, dword [esp + 0xf0]
mov eax, ebx
cmp esi, edi
jae 0x10005264
lea eax, [esp + 0xf0]
push str.INVALID_ACCOUNT_STATUS
push eax
call fcn.100010a0
add esp, 8
test eax, eax
jne 0x10005320
lea ecx, [esp + 0xf0]
call fcn.1000ad40
lea ecx, [esp + 0x10]
call fcn.1000ad40
lea ecx, [esp + 0x10c]
mov byte [esp + 0x2f8], 0xf
call fcn.10019ac0
lea ecx, [esp + 0x9c]
call fcn.1000ad40
lea ecx, [esp + 0x48]
call fcn.1000ad40
lea ecx, [esp + 0x64]
call fcn.1000ad40
lea ecx, [esp + 0x1c0]
mov byte [esp + 0x2f8], 4
call fcn.10009b90
lea ecx, [esp + 0x80]
call fcn.1000ad40
lea ecx, [esp + 0xb8]
call fcn.1000ad40
lea ecx, [esp + 0x2c]
call fcn.100022e0
lea ecx, [esp + 0xd4]
call fcn.1000ad40
mov eax, 3
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x2e0]
mov dword fs:[0], ecx
add esp, 0x2ec
ret
mov eax, ebx
cmp esi, edi
jae 0x1000532d
lea eax, [esp + 0xf0]
push str.ENTITLEMENT_INACTIVE
push eax
call fcn.100010a0
add esp, 8
lea ecx, [esp + 0xf0]
test eax, eax
jne 0x100053d5
call fcn.1000ad40
lea ecx, [esp + 0x10]
call fcn.1000ad40
lea ecx, [esp + 0x10c]
mov byte [esp + 0x2f8], 0xf
call fcn.10019ac0
lea ecx, [esp + 0x9c]
call fcn.1000ad40
lea ecx, [esp + 0x48]
call fcn.1000ad40
lea ecx, [esp + 0x64]
call fcn.1000ad40
lea ecx, [esp + 0x1c0]
mov byte [esp + 0x2f8], 4
call fcn.10009b90
lea ecx, [esp + 0x80]
call fcn.1000ad40
lea ecx, [esp + 0xb8]
call fcn.1000ad40
lea ecx, [esp + 0x2c]
call fcn.100022e0
lea ecx, [esp + 0xd4]
call fcn.1000ad40
mov eax, 4
jmp 0x10005307
call fcn.1000ad40
lea ecx, [esp + 0x10]
call fcn.1000ad40
lea ecx, [esp + 0x10c]
mov byte [esp + 0x2f8], 0xf
call fcn.10019ac0
lea ecx, [esp + 0x9c]
call fcn.1000ad40
lea ecx, [esp + 0x48]
call fcn.1000ad40
lea ecx, [esp + 0x64]
call fcn.1000ad40
lea ecx, [esp + 0x1c0]
mov byte [esp + 0x2f8], 4
call fcn.10009b90
lea ecx, [esp + 0x80]
call fcn.1000ad40
lea ecx, [esp + 0xb8]
call fcn.1000ad40
lea ecx, [esp + 0x2c]
call fcn.100022e0
lea ecx, [esp + 0xd4]
call fcn.1000ad40
xor eax, eax
jmp 0x10005307
lea ecx, [esp + 0x10]
call fcn.1000ad40
lea ecx, [esp + 0x10c]
mov byte [esp + 0x2f8], 0xf
call fcn.10019ac0
lea ecx, [esp + 0x9c]
call fcn.1000ad40
cmp dword [esp + 0x5c], edi
jb 0x10005499
mov eax, dword [esp + 0x48]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], cx
cmp dword [esp + 0x78], edi
jb 0x100054c0
mov edx, dword [esp + 0x64]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebp
mov word [esp + 0x64], ax
mov byte [esp + 0x2f8], 4
call fcn.10009b90
cmp dword [esp + 0x94], edi
jb 0x100054fc
mov ecx, dword [esp + 0x80]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edx, edx
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebp
mov word [esp + 0x80], dx
cmp dword [esp + 0xcc], edi
jb 0x1000552d
mov eax, dword [esp + 0xb8]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x40], 0x10
jb 0x10005541
mov ecx, dword [esp + 0x2c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x2c], 0
cmp dword [esp + 0xe8], edi
jb 0x1000556b
mov edx, dword [esp + 0xd4]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 2
jmp 0x10005307
cmp dword [esp + 0x5c], edi
jb 0x10005588
mov eax, dword [esp + 0x48]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], cx
cmp dword [esp + 0x78], edi
jb 0x100055af
mov edx, dword [esp + 0x64]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebp
mov word [esp + 0x64], ax
mov byte [esp + 0x2f8], 4
call fcn.10009b90
cmp dword [esp + 0x94], edi
jb 0x100055eb
mov ecx, dword [esp + 0x80]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edx, edx
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebp
mov word [esp + 0x80], dx
cmp dword [esp + 0xcc], edi
jb 0x1000561c
mov eax, dword [esp + 0xb8]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebp
mov word [esp + 0xb8], cx
jb 0x10005648
mov edx, dword [esp + 0x2c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x2c], 0
cmp dword [esp + 0xe8], edi
jb 0x10005672
mov eax, dword [esp + 0xd4]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 1
jmp 0x10005307
test byte [0x100bbcc4], 1
jne 0x100056b3
or dword [0x100bbcc4], 1
mov ecx, 0x100bbca0
mov byte [esp + 0x2ec], 2
call fcn.10009750
push 0x100875d0
call fcn.10083c4f
add esp, 4
mov byte [esp + 0x2ec], 1
push str.Missing_required_machineID_and_or_ContentID_in_conccurrency_guard_check_CP_command
push str.CheckConcurrencyGuard
push 1
push 0x100bbca0
call fcn.10009820
add esp, 0x10
cmp dword [esp + 0x34], 0x10
jb 0x100056e0
mov ecx, dword [esp + 0x20]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0xdc], 8
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
jb 0x1000570b
mov edx, dword [esp + 0xc8]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x2e4]
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x2ec
ret