Function at 0x140006d90
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1060]
mov eax, 0x1160
call fcn.140012410
sub rsp, rax
mov rax, qword [0x14001a010]
xor rax, rsp
mov qword [rbp + 0x1050], rax
mov rbx, r9
mov r14, r8
mov qword [rsp + 0x68], r8
mov r15, rdx
mov rdi, qword [rbp + 0x10c0]
mov r13, qword [rbp + 0x10d0]
mov qword [rsp + 0x58], r13
lea rcx, [0x140020513]
call fcn.14001233c
xor esi, esi
mov qword [rsp + 0x48], rsi
lea rcx, [rbp - 0x80]
call fcn.14000ff30
nop
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x30], esi
xor eax, eax
mov dword [rbp + 0x6f0], eax
mov word [rbp + 0x6f4], ax
mov qword [rbp + 0x708], rax
mov dword [rbp + 0x710], eax
mov qword [rbp + 0x6e8], rsi
mov qword [rbp + 0x6f8], rsi
mov dword [rbp + 0x700], esi
mov qword [rbp + 0x6e0], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x40], rsi
lea r8, [rbx + 1]
movzx edx, byte [rbx]
lea rcx, [rsp + 0x48]
call qword [sym.imp.TGenClient.dll_TD_Attach]
test eax, eax
je 0x140006f0f
cmp eax, 0x66
jne 0x140006e90
lea r8, [0x140013ae8]
lea rdx, [0x140014470]
mov rcx, r13
call fcn.1400017f0
mov esi, 5
jmp 0x14000763b
cmp eax, 0x1131
jne 0x140006f05
mov r12, 0xffffffffffffffff
nop
inc r12
cmp byte [rbx + r12], 0
jne 0x140006ea0
movzx eax, si
lea rdi, [rbp + 0xc50]
mov ecx, 0x100
rep stosw word [rdi], ax
mov dword [rsp + 0x34], 0x200
lea rax, [rbp]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, [rbp + 0xc50]
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.SAPNWRFC.dll_RfcUTF8ToSAPUC]
lea r8, [rbp + 0xc50]
lea rdx, [0x140014498]
mov rcx, r13
call fcn.1400017f0
mov esi, 5
jmp 0x14000763b
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.TGenClient.dll_TD_OpenMatcher]
mov esi, eax
test eax, eax
je 0x140006f40
lea r8, str.Matcher
lea rdx, [0x140014630]
mov rcx, r13
call fcn.1400017f0
mov esi, 5
jmp 0x14000763b
lea rax, [rbp]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
lea r8, [rbp + 0x708]
lea rdx, str.COUNTRY
mov rcx, r15
call qword [sym.imp.SAPNWRFC.dll_RfcGetString]
test eax, eax
je 0x140006f8e
mov byte [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp]
lea rdx, str.RfcGetString_Error
mov ecx, eax
call fcn.1400016f0
lea rax, [rbp + 0x708]
mov r12, 0xffffffffffffffff
mov rcx, r12
nop
inc rcx
cmp word [rax + rcx*2], 0
jne 0x140006fa0
lea eax, [rcx + 2]
mov dword [rsp + 0x34], eax
lea rax, [rbp]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, [rbp + 0x6f0]
mov edx, ecx
lea rcx, [rbp + 0x708]
call qword [sym.imp.SAPNWRFC.dll_RfcSAPUCToUTF8]
test eax, eax
je 0x140006ffd
mov byte [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp]
lea rdx, str.RfcSAPUCToUTF8_Error
mov ecx, eax
call fcn.1400016f0
lea r9, [rbp + 0x6f0]
mov r8, rdi
lea rdx, str._s__.2s
lea rcx, [rbp + 0x728]
call fcn.140001220
lea r8, [rbp + 0x728]
lea rcx, [rbp - 0x80]
call fcn.140007ff0
test eax, eax
je 0x14000763b
mov r8, rdi
lea rcx, [rbp - 0x80]
call fcn.140007ff0
mov r13d, dword [rbp - 0x78]
test eax, eax
je 0x14000707e
mov r8, rdi
lea rdx, [0x1400144c4]
lea rcx, [rbp + 0xe50]
call fcn.140001600
lea r8, str.strTypeU
lea rdx, [0x1400144e8]
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.1400017f0
xor esi, esi
jmp 0x1400071d0
xor esi, esi
mov r14d, esi
test r13d, r13d
je 0x1400071c6
nop dword [rax]
mov edx, r14d
lea rcx, [rbp - 0x80]
call fcn.140010e20
mov rsi, rax
mov rcx, qword [rax + 0x18]
mov rbx, r12
inc rbx
cmp byte [rcx + rbx], 0
jne 0x1400070a6
mov rax, r12
inc rax
cmp byte [rcx + rax], 0
jne 0x1400070b2
add eax, 2
mov dword [rsp + 0x34], eax
mov rcx, qword [rsi + 0x18]
lea rdx, [rbp + 0x750]
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rdx], al
lea rcx, [rcx + 1]
lea rdx, [rdx + 1]
test al, al
jne 0x1400070d0
lea rcx, [rbp + 0x750]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strupr]
xor edx, edx
movzx eax, dx
lea rdi, [rbp + 0x850]
mov ecx, 0x100
rep stosw word [rdi], ax
mov dword [rsp + 0x30], edx
lea rax, [rbp]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, [rbp + 0x850]
mov edx, ebx
lea rcx, [rbp + 0x750]
call qword [sym.imp.SAPNWRFC.dll_RfcUTF8ToSAPUC]
test eax, eax
je 0x140007152
mov byte [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp]
lea rdx, str.RfcSAPUCToUTF8_Error
mov ecx, eax
call fcn.1400016f0
lea rax, [rbp]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
lea r8, [rbp + 0xa50]
lea rdx, [rbp + 0x850]
mov rcx, r15
call qword [sym.imp.SAPNWRFC.dll_RfcGetString]
test eax, eax
jne 0x14000718f
lea r8, [rbp + 0xa50]
jmp 0x1400071b0
mov byte [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp]
lea rdx, str.RfcGetString_Error
mov ecx, eax
call fcn.1400016f0
lea r8, [0x1400144f0]
mov rdx, rsi
call fcn.140010ea0
inc r14d
cmp r14d, r13d
jb 0x140007090
xor esi, esi
mov rbx, qword [rsp + 0x58]
mov r14, qword [rsp + 0x68]
lea r8, [rbp]
lea rdx, [rsp + 0x38]
mov rcx, r14
call qword [sym.imp.SAPNWRFC.dll_RfcGetRowCount]
mov edi, esi
mov dword [rsp + 0x50], esi
mov r15d, esi
mov dword [rsp + 0x54], esi
cmp dword [rsp + 0x38], 0
jbe 0x1400073d9
nop word [rax + rax]
lea r8, [rbp]
mov edx, r15d
mov rcx, r14
call qword [sym.imp.SAPNWRFC.dll_RfcMoveTo]
lea rdx, [rbp]
mov rcx, r14
call qword [sym.imp.SAPNWRFC.dll_RfcGetCurrentRow]
mov r14d, esi
test r13d, r13d
je 0x14000736f
mov r15, rax
nop dword [rax]
mov edx, r14d
lea rcx, [rbp - 0x80]
call fcn.140010e20
mov rsi, rax
mov rcx, qword [rax + 0x18]
mov rbx, r12
inc rbx
cmp byte [rcx + rbx], 0
jne 0x140007246
mov rax, r12
inc rax
cmp byte [rcx + rax], 0
jne 0x140007252
add eax, 2
mov dword [rsp + 0x34], eax
mov rcx, qword [rsi + 0x18]
lea rdx, [rbp + 0x750]
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rdx], al
lea rcx, [rcx + 1]
lea rdx, [rdx + 1]
test al, al
jne 0x140007270
lea rcx, [rbp + 0x750]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strupr]
xor edx, edx
movzx eax, dx
lea rdi, [rbp + 0x850]
mov ecx, 0x100
rep stosw word [rdi], ax
mov dword [rsp + 0x30], edx
lea rax, [rbp]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, [rbp + 0x850]
mov edx, ebx
lea rcx, [rbp + 0x750]
call qword [sym.imp.SAPNWRFC.dll_RfcUTF8ToSAPUC]
test eax, eax
je 0x1400072f2
mov byte [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp]
lea rdx, str.RfcSAPUCToUTF8_Error
mov ecx, eax
call fcn.1400016f0
lea rax, [rbp]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
lea r8, [rbp + 0xa50]
lea rdx, [rbp + 0x850]
mov rcx, r15
call qword [sym.imp.SAPNWRFC.dll_RfcGetString]
test eax, eax
jne 0x14000732f
lea r8, [rbp + 0xa50]
jmp 0x140007350
mov byte [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp]
lea rdx, str.RfcGetString_Error
mov ecx, eax
call fcn.1400016f0
lea r8, [0x1400144f0]
mov rdx, rsi
call fcn.140010e60
inc r14d
cmp r14d, r13d
jb 0x140007230
mov r15d, dword [rsp + 0x54]
mov edi, dword [rsp + 0x50]
xor esi, esi
mov r8d, edi
lea rdx, str._5.5d
lea rcx, [rbp + 0x718]
call fcn.140001600
lea r8, [rbp + 0x718]
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x48]
call fcn.1400082f0
mov rbx, qword [rsp + 0x58]
test eax, eax
je 0x1400073bb
lea r8, [0x140013ae8]
lea rdx, [0x140014648]
mov rcx, rbx
call fcn.1400017f0
jmp 0x1400073c1
inc edi
mov dword [rsp + 0x50], edi
inc r15d
mov dword [rsp + 0x54], r15d
cmp r15d, dword [rsp + 0x38]
mov r14, qword [rsp + 0x68]
jb 0x140007200
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x48]
call fcn.140008400
mov esi, eax
test eax, eax
je 0x140007417
lea r8, [0x140013ae8]
lea rdx, [0x140014650]
mov rcx, rbx
call fcn.1400017f0
mov esi, 5
jmp 0x14000763b
mov rax, qword [rsp + 0x60]
xor r13d, r13d
test rax, rax
je 0x140007556
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140007556
mov ebx, r13d
cmp qword [rax], rbx
je 0x140007556
mov edi, r13d
cmp qword [rdi + rdx], r13
je 0x140007556
mov rax, qword [rsp + 0x60]
mov rcx, qword [rdi + rax]
cmp word [rcx], r13w
je 0x14000753d
lea rdx, [rbp + 0x6f8]
nop dword [rax]
movzx eax, word [rcx]
mov word [rdx], ax
lea rcx, [rcx + 2]
lea rdx, [rdx + 2]
test ax, ax
jne 0x140007470
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rbp + 0x6f8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
lea r8, [rbp]
mov edx, eax
mov rcx, r14
call qword [sym.imp.SAPNWRFC.dll_RfcMoveTo]
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14000753d
mov rcx, qword [rdi + rdx]
lea rdx, [rbp + 0x6e0]
nop
movzx eax, word [rcx]
mov word [rdx], ax
lea rcx, [rcx + 2]
lea rdx, [rdx + 2]
test ax, ax
jne 0x1400074c0
lea rdx, [rbp]
mov rcx, r14
call qword [sym.imp.SAPNWRFC.dll_RfcGetCurrentRow]
lea rcx, [rbp + 0x6e0]
mov r9, r12
nop word [rax + rax]
inc r9
cmp word [rcx + r9*2], r13w
jne 0x1400074f0
lea rcx, [rbp]
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x6e0]
lea rdx, str.MATCHPATTERN
mov rcx, rax
call qword [sym.imp.SAPNWRFC.dll_RfcSetString]
test eax, eax
je 0x140007538
mov byte [rsp + 0x20], r13b
xor r9d, r9d
lea r8, [rbp]
lea rdx, str.RfcSetString_Error
mov ecx, eax
call fcn.1400016f0
mov rdx, qword [rsp + 0x40]
inc ebx
lea rdi, [rbx*8]
mov rax, qword [rsp + 0x60]
cmp qword [rdi + rax], r13
jne 0x140007445
lea r8, [rbp]
lea rdx, [rsp + 0x38]
mov rcx, r14
call qword [sym.imp.SAPNWRFC.dll_RfcGetRowCount]
mov edi, dword [rsp + 0x38]
sub edi, 1
js 0x14000763b
lea rbx, [0x140014678]
lea r15, [0x140014680]
nop dword [rax]
nop word [rax + rax]
lea r8, [rbp]
mov edx, edi
mov rcx, r14
call qword [sym.imp.SAPNWRFC.dll_RfcMoveTo]
lea rdx, [rbp]
mov rcx, r14
call qword [sym.imp.SAPNWRFC.dll_RfcGetCurrentRow]
lea rcx, [rbp]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9d, 0x100
lea r8, [rbp + 0x6e8]
lea rdx, str.MATCHPATTERN
mov rcx, rax
call qword [sym.imp.SAPNWRFC.dll_RfcGetString]
mov rcx, r13
lea rdx, [rbp + 0x6e8]
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [rbx + rcx*2 - 2]
jne 0x140007606
cmp rcx, 4
jne 0x1400075f0
jmp 0x140007625
mov rcx, r13
lea rdx, [rbp + 0x6e8]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r15 + rcx*2 - 2]
jne 0x140007632
cmp rcx, 4
jne 0x140007610
lea rdx, [rbp]
mov rcx, r14
call qword [sym.imp.SAPNWRFC.dll_RfcDeleteCurrentRow]
sub edi, 1
jns 0x140007590
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000764b
call qword [sym.imp.TGenClient.dll_TD_FreeIBuffer]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000765b
call qword [sym.imp.TGenClient.dll_TD_FreeIBuffer]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140007677
call qword [sym.imp.TGenClient.dll_TD_CloseMatcher]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.TGenClient.dll_TD_Release]
nop
lea rcx, [rbp - 0x80]
call fcn.14000ffe0
mov eax, esi
mov rcx, qword [rbp + 0x1050]
xor rcx, rsp
call fcn.1400110e0
mov rbx, qword [rsp + 0x11a0]
add rsp, 0x1160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret