Function at 0x1005991e
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x100b5210
call fcn.10096468
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea esi, [edi + 0x58]
mov dword [ebp - 0x18], ebx
cmp dword [esi], ebx
jne 0x1005994e
mov ecx, dword [ebp + 8]
push 0x100bc8a8
call fcn.1000ad3a
jmp 0x10059cde
push str._UserHeader__n
lea ecx, [ebp - 0x10]
call fcn.1000ad3a
test byte [ebp + 0xc], 1
mov dword [ebp - 4], ebx
je 0x10059991
push 0x100bf200
push ebx
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.100594d0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000b4ca
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
mov byte [ebp - 4], bl
je 0x10059991
call fcn.10007d34
test byte [ebp + 0xc], 0x40
je 0x100599c5
push 0x100c6c34
push 3
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.100594d0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.1000b4ca
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
mov byte [ebp - 4], bl
je 0x100599c5
call fcn.10007d34
test byte [ebp + 0xc], 0x10
je 0x10059a54
push str._PARTNER_
lea ecx, [ebp - 0x14]
call fcn.1000ad3a
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.1000b4ca
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
mov byte [ebp - 4], bl
je 0x100599fb
call fcn.10007d34
push dword [0x100ca650]
lea ecx, [ebp - 0x14]
call fcn.1000ad3a
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.1000b4ca
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
mov byte [ebp - 4], bl
je 0x10059a28
call fcn.10007d34
push str.__PARTNER__n
lea ecx, [ebp - 0x14]
call fcn.1000ad3a
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.1000b4ca
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
mov byte [ebp - 4], bl
je 0x10059a54
call fcn.10007d34
test byte [ebp + 0xd], 8
je 0x10059afd
push str._VER_
lea ecx, [ebp - 0x14]
call fcn.1000ad3a
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.1000b4ca
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x10059a87
call fcn.10007d34
mov dword [ebp - 0x14], ebx
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.10001134
push ebx
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.1000b52c
push dword [ebp - 0x14]
mov eax, dword [esi]
push esi
call dword [eax + 0x38]
cmp eax, ebx
jne 0x10059ac5
lea ecx, [ebp - 0x14]
call fcn.1000adb6
test eax, eax
jbe 0x10059ac5
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000b4ca
push str.__VER__n
lea ecx, [ebp - 0x18]
call fcn.1000ad3a
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.1000b4ca
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x10059aee
call fcn.10007d34
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
mov byte [ebp - 4], bl
je 0x10059afd
call fcn.10007d34
test byte [ebp + 0xc], 0x20
je 0x10059b31
push str.AFFILIATE
push 2
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.100594d0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.1000b4ca
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
mov byte [ebp - 4], bl
je 0x10059b31
call fcn.10007d34
test byte [ebp + 0xc], 2
je 0x10059b65
push 0x100bf208
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.100594d0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.1000b4ca
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
mov byte [ebp - 4], bl
je 0x10059b65
call fcn.10007d34
test byte [ebp + 0xc], 4
je 0x10059b99
push str.BANNER_ID
push 4
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.100594d0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
call fcn.1000b4ca
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
mov byte [ebp - 4], bl
je 0x10059b99
call fcn.10007d34
test byte [ebp + 0xc], 8
je 0x10059bcd
push str.REQUESTER_ID
push 5
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.100594d0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xc
call fcn.1000b4ca
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
mov byte [ebp - 4], bl
je 0x10059bcd
call fcn.10007d34
test byte [ebp + 0xc], 0x80
je 0x10059c01
push str.COUNTRY
push 6
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.100594d0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xd
call fcn.1000b4ca
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
mov byte [ebp - 4], bl
je 0x10059c01
call fcn.10007d34
test byte [ebp + 0xd], 1
je 0x10059c35
push str.STATE
push 9
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.100594d0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xe
call fcn.1000b4ca
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
mov byte [ebp - 4], bl
je 0x10059c35
call fcn.10007d34
test byte [ebp + 0xd], 2
je 0x10059c69
push str.USER_CREATE_DATE
push 7
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.100594d0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
call fcn.1000b4ca
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
mov byte [ebp - 4], bl
je 0x10059c69
call fcn.10007d34
test byte [ebp + 0xd], 4
je 0x10059c9d
push 0x100c6be4
push 8
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
call fcn.100594d0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x10
call fcn.1000b4ca
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
mov byte [ebp - 4], bl
je 0x10059c9d
call fcn.10007d34
push str.__UserHeader__n
lea ecx, [ebp + 0xc]
call fcn.1000ad3a
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x11
call fcn.1000b4ca
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
je 0x10059cc6
call fcn.10007d34
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.100289b0
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
je 0x10059cde
call fcn.10007d34
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8