Function at 0x100defe
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0x10]
xor eax, eax
cmp ebx, eax
je 0x100df12
mov dword [ebx], eax
cmp dword [0x1020300], eax
mov dword [ebp - 8], eax
je 0x100e3d0
push esi
push edi
mov edi, dword [sym.imp.msvcrt.dll_wcscmp]
mov esi, 0x1020300
push 0x101d8cc
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
je 0x100e3b8
push str._ADD
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100df69
cmp dword [ebp + 0xc], 1
je 0x100e3b8
push 0xdad
call fcn.010108fa
jmp 0x100e3b8
push str._ACTIVE
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100df84
mov eax, dword [ebp + 8]
and dword [eax + 0x18], 0xffffffed
jmp 0x100e3b8
push 0x101d8e8
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100dfaa
cmp dword [ebp + 0x14], eax
je 0x100e3b8
mov eax, dword [ebp + 0x14]
mov dword [eax], 8
jmp 0x100e3b8
push str._FPNW
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100dfcc
test ebx, ebx
je 0x100e3b8
mov dword [ebx], 1
jmp 0x100e3b8
push dword [esi]
call fcn.01010111
mov ebx, eax
test ebx, ebx
jne 0x100dfe3
push 0xdb1
call fcn.010108fa
push str._FULLNAME
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100dffd
mov eax, dword [ebp + 8]
mov dword [eax + 0x24], ebx
jmp 0x100e3af
push str._ENABLESCRIPT
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100e036
push str._ENABLESCRIPT
push ebx
call fcn.0100cd07
test eax, eax
je 0x100e027
mov eax, dword [ebp + 8]
or dword [eax + 0x18], 1
jmp 0x100e3af
push 0xebb
call fcn.010108fa
jmp 0x100e3af
push str._HOMEDIR
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100e09e
cmp word [ebx], ax
je 0x100e093
push eax
lea ecx, [ebp - 4]
push ecx
push ebx
push eax
call sub.NETAPI32.dll_I_NetPathType
test eax, eax
je 0x100e069
push str._HOMEDIR
push 0xf70
call fcn.010107ca
cmp dword [ebp - 4], 0x2006
je 0x100e093
cmp dword [ebp - 4], 0x2000
je 0x100e093
cmp dword [ebp - 4], 0x1000
je 0x100e093
push str._HOMEDIR
push 0xf70
call fcn.010107ca
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], ebx
jmp 0x100e3af
push str._PARMS
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100e0b8
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], ebx
jmp 0x100e3af
push str._COMMENT
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100e0d2
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], ebx
jmp 0x100e3af
push str._USERCOMMENT
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100e0ec
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], ebx
jmp 0x100e3af
push str._SCRIPTPATH
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100e139
cmp ebx, eax
je 0x100e10f
cmp word [ebx], ax
jne 0x100e10f
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], ebx
jmp 0x100e3af
push eax
lea ecx, [ebp - 4]
push ecx
push ebx
push eax
call sub.NETAPI32.dll_I_NetPathType
test eax, eax
jne 0x100e128
cmp dword [ebp - 4], 0x2000
je 0x100e104
push str._SCRIPTPATH
push 0xf70
call fcn.010107ca
jmp 0x100e104
push str._PROFILEPATH
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100e18f
cmp ebx, eax
je 0x100e15c
cmp word [ebx], ax
jne 0x100e15c
mov eax, dword [ebp + 8]
mov dword [eax + 0x68], ebx
jmp 0x100e3af
push eax
lea ecx, [ebp - 4]
push ecx
push ebx
push eax
call sub.NETAPI32.dll_I_NetPathType
test eax, eax
jne 0x100e17e
cmp dword [ebp - 4], 0x2006
je 0x100e151
cmp dword [ebp - 4], 0x1000
je 0x100e151
push str._PROFILEPATH
push 0xf70
call fcn.010107ca
jmp 0x100e151
push str._ACTIVE
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100e1c2
push str._ACTIVE
push ebx
call fcn.0100cd07
test eax, eax
mov eax, dword [ebp + 8]
je 0x100e1b9
and dword [eax + 0x18], 0xffffffed
jmp 0x100e3af
or dword [eax + 0x18], 2
jmp 0x100e3af
push str._FPNW
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100e210
push str._FPNW
push ebx
call fcn.0100cd07
test eax, eax
je 0x100e1f8
cmp dword [ebp + 0x10], 0
je 0x100e3af
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
jmp 0x100e3af
cmp dword [ebp + 0x10], 0
je 0x100e3af
mov eax, dword [ebp + 0x10]
mov dword [eax], 2
jmp 0x100e3af
push str._PASSWORDREQ
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100e243
push str._PASSWORDREQ
push ebx
call fcn.0100cd07
test eax, eax
mov eax, dword [ebp + 8]
je 0x100e23a
and dword [eax + 0x18], 0xffffffdf
jmp 0x100e3af
or dword [eax + 0x18], 0x20
jmp 0x100e3af
push str._PASSWORDCHG
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100e276
push str._PASSWORDCHG
push ebx
call fcn.0100cd07
test eax, eax
mov eax, dword [ebp + 8]
je 0x100e26d
and dword [eax + 0x18], 0xffffffbf
jmp 0x100e3af
or dword [eax + 0x18], 0x40
jmp 0x100e3af
push str._TIMES
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100e29d
push ebx
call fcn.0100cddc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x44], 0xa8
jmp 0x100e3af
push str._WORKSTATIONS
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100e2bd
push ebx
call fcn.0100d532
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
jmp 0x100e3af
push str._COUNTRYCODE
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100e2fd
push str._COUNTRYCODE
push 0xf70
push ebx
call fcn.01010252
mov esi, eax
push esi
call fcn.0100ce70
test eax, eax
jne 0x100e2f2
push 0xebd
call fcn.010108fa
mov eax, dword [ebp + 8]
mov dword [eax + 0x58], esi
jmp 0x100e3af
push 0x101d8e8
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100e345
cmp dword [ebp + 0x14], eax
je 0x100e3af
push 0x101d8e8
push 0xf70
push ebx
call fcn.0101021d
mov ecx, dword [ebp + 0x14]
movzx eax, ax
cmp eax, 0x100
mov dword [ecx], eax
jle 0x100e3af
push 0x101d8e8
push 0xf70
call fcn.010107ca
jmp 0x100e3af
push str._EXPIRES
push dword [esi]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x100e3af
push str.NEVER
push ebx
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x100e36f
mov eax, dword [ebp + 8]
or dword [eax + 0x3c], 0xffffffff
jmp 0x100e3af
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.01014886
test eax, eax
jne 0x100e390
push ebx
call dword [sym.imp.msvcrt.dll_wcslen]
cmp dword [ebp - 0xc], eax
pop ecx
je 0x100e39a
push 0xeb7
call fcn.010108fa
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call fcn.0101516a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3c], eax
mov word [ebx - 2], 0x3a
mov ebx, dword [ebp + 0x10]
inc dword [ebp - 8]
mov esi, dword [ebp - 8]
lea esi, [esi*4 + 0x1020300]
cmp dword [esi], 0
jne 0x100df2e
pop edi
pop esi
pop ebx
leave
ret 0x10