Function at 0x10047a60
Capabilities:
Get common file path
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x101482fb
mov eax, dword fs:[0]
push eax
mov eax, 0x7f58
call fcn.10140530
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x7f50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10189710]
xor eax, esp
push eax
lea eax, [esp + 0x7f6c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7f7c]
push 0x3fff
xor ebp, ebp
lea ecx, [esp + 0x3f69]
push ebp
push ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x3f70], 0
call fcn.1012e060
add esp, 0xc
push 0x103
lea edx, [esp + 0x3959]
push ebp
push edx
mov byte [esp + 0x3960], 0
call fcn.1012e060
add esp, 0xc
push 0x103
lea eax, [esp + 0x3539]
push ebp
push eax
mov byte [esp + 0x3540], 0
call fcn.1012e060
add esp, 0xc
push 0x103
lea ecx, [esp + 0x3851]
push ebp
push ecx
mov byte [esp + 0x3858], 0
call fcn.1012e060
add esp, 0xc
push 0x103
lea edx, [esp + 0x3749]
push ebp
push edx
mov byte [esp + 0x3750], 0
call fcn.1012e060
add esp, 0xc
push 0x30d4
lea eax, [esp + 0x254]
push ebp
push eax
mov dword [esp + 0x258], ebp
call fcn.1012e060
add esp, 0xc
push 0x103
lea ecx, [esp + 0x3a61]
push ebp
push ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x3a68], 0
call fcn.1012e060
add esp, 0xc
push 0x103
lea edx, [esp + 0x3329]
push ebp
push edx
mov byte [esp + 0x3330], 0
call fcn.1012e060
add esp, 0xc
push 0x103
lea eax, [esp + 0x3641]
push ebp
push eax
mov byte [esp + 0x3648], 0
call fcn.1012e060
add esp, 0xc
push 0x103
lea ecx, [esp + 0x3431]
push ebp
push ecx
mov byte [esp + 0x3438], 0
call fcn.1012e060
add esp, 0xc
call fcn.10041df0
push 4
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebp
push 0x20001004
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [esp + 0x14]
push 0x101ab540
lea ecx, [esp + 0x3f68]
push str._sSPOOLER.EXE
push ecx
mov dword [0x101a68cc], eax
call fcn.10127dc0
add esp, 0xc
lea edi, [esp + 0x3a5c]
call fcn.1005d0a0
cmp eax, 1
jne 0x10047c4e
push 0x104
lea ebx, [esp + 0x3640]
mov esi, edi
call fcn.1005f230
add esp, 4
mov ebp, 1
push 0x104
lea edx, [esp + 0x3328]
push edx
push 0x1014d5e3
mov edx, str.InstallDirectoryL
mov ecx, str.MailScan
call fcn.1005ffb0
mov cl, byte [esp + 0x3330]
add esp, 0xc
test cl, cl
jne 0x10047cb0
push 0x104
lea eax, [esp + 0x3328]
push eax
push 0x1014d5e3
mov edx, str.InstallDirectory
mov ecx, str.MailScan
call fcn.1005ffb0
mov cl, byte [esp + 0x3330]
add esp, 0xc
test cl, cl
je 0x10047dc1
lea eax, [esp + 0x3324]
test cl, cl
je 0x10047cc6
jmp 0x10047cc0
inc eax
cmp byte [eax], 0
jne 0x10047cc0
lea ecx, [esp + 0x3324]
sub eax, ecx
je 0x10047ce9
cmp byte [esp + eax + 0x3323], 0x5c
je 0x10047ce9
push 0x10158184
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x3324]
push 0
push eax
call fcn.100612a0
add esp, 8
cmp eax, 1
jne 0x10047dc1
push 0x104
lea ebx, [esp + 0x3430]
lea esi, [esp + 0x3328]
call fcn.1005f230
add esp, 4
cmp ebp, 1
jne 0x10047d94
xor bl, bl
lea eax, [esp + 0x363c]
cmp byte [esp + 0x363c], bl
je 0x10047d3b
inc eax
cmp byte [eax], bl
jne 0x10047d36
lea ecx, [esp + 0x363c]
sub eax, ecx
push eax
mov eax, ecx
lea ecx, [esp + 0x3430]
call fcn.1005a0e0
add esp, 4
test eax, eax
je 0x10047dba
lea eax, [esp + 0x342c]
cmp byte [esp + 0x342c], bl
je 0x10047d75
lea ebx, [ebx]
inc eax
cmp byte [eax], bl
jne 0x10047d70
lea edx, [esp + 0x342c]
sub eax, edx
push eax
lea eax, [esp + 0x3640]
mov ecx, edx
call fcn.1005a0e0
add esp, 4
test eax, eax
je 0x10047dba
mov edi, dword [esp + 0x18]
test edi, edi
je 0x10047db1
push 0
push 0x10164170
push edi
call fcn.10063340
add esp, 0xc
cmp eax, 0xffffffff
jne 0x10047dc5
call fcn.10046470
mov esi, eax
jmp 0x10047dc7
mov byte [esp + 0x342c], bl
mov edi, dword [esp + 0x18]
xor esi, esi
test edi, edi
je 0x10047de5
push 0
push str._highpriority
push edi
call fcn.10063340
add esp, 0xc
mov ebx, 1
cmp eax, 0xffffffff
jne 0x10047de9
mov ebx, dword [esp + 0x20]
mov ebp, 1
push ebp
push 0
xor edx, edx
lea ecx, [esp + 0x3f6c]
call fcn.10060eb0
add esp, 8
test eax, eax
jne 0x10047f31
test esi, esi
je 0x10047f31
push 0x101ab540
lea eax, [esp + 0x3f68]
push str._sSPOOLOUT
push eax
call fcn.10127dc0
add esp, 0xc
lea ecx, [esp + 0x3f64]
push 0
push ecx
call fcn.100612a0
add esp, 8
cmp eax, ebp
jne 0x10047f31
push 0x101ab540
lea edx, [esp + 0x9e4]
push str._sSPOOLOUT
push edx
mov dword [esp + 0x6c8], ebp
call fcn.10127dc0
add esp, 0xc
lea eax, [esp + 0x6d4]
push eax
push 0
push str.MSPL
lea ecx, [esp + 0x9ec]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [esp + 0x6d4]
jmp 0x10047e90
mov cl, byte [eax]
mov byte [eax + 0x208], cl
add eax, ebp
test cl, cl
jne 0x10047e90
lea eax, [esp + 0x6d4]
mov cl, byte [eax]
mov byte [eax + 0x104], cl
add eax, ebp
test cl, cl
jne 0x10047ea5
lea eax, [esp + 0x7d8]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10047ec0
sub eax, edx
mov byte [esp + eax + 0x7d4], cl
lea eax, [esp + 0x7d8]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10047ed8
mov edx, dword [str..TMM]
mov cl, byte [0x1016419c]
mov dword [eax], edx
mov byte [eax + 4], cl
lea eax, [esp + 0x6d4]
lea edx, [eax + 1]
jmp 0x10047f00
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10047f00
sub eax, edx
mov byte [esp + eax + 0x6d0], cl
lea eax, [esp + 0x6d4]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10047f18
mov edx, dword [str..TMC]
mov cl, byte [0x101641a4]
mov dword [eax], edx
mov byte [eax + 4], cl
call fcn.1005bb40
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x3f68]
push edx
call edi
cmp byte [esp + 0x3f64], 0
je 0x10048054
lea eax, [esp + 0xef8]
push eax
mov eax, 0x10164170
lea ecx, [esp + 0x3f68]
mov dword [esp + 0x6cc], ebx
call fcn.100735d0
lea ecx, [esp + 0x1000]
add esp, 4
push ecx
mov eax, 0x101641a8
lea ecx, [esp + 0x3f68]
call fcn.100735d0
lea edx, [esp + 0x3958]
add esp, 4
push edx
mov eax, 0x10157d7c
lea ecx, [esp + 0x3f68]
call fcn.100735d0
lea eax, [esp + 0x3538]
add esp, 4
push eax
mov eax, 0x101641ac
lea ecx, [esp + 0x3f68]
call fcn.100735d0
add esp, 4
cmp byte [esp + 0x3954], 0
je 0x10048054
lea ecx, [esp + 0x3954]
push ecx
lea edx, [esp + 0x3850]
push edx
call edi
lea eax, [esp + 0x384c]
push 0x3a
push eax
call fcn.10128490
add esp, 8
test eax, eax
je 0x10048042
lea ecx, [eax + 1]
lea esi, [esp + 0x300c]
sub esi, ecx
lea ebx, [ebx]
mov dl, byte [ecx]
mov byte [ecx + esi], dl
add ecx, ebp
test dl, dl
jne 0x10048010
lea ecx, [esp + 0x300c]
push ecx
mov byte [eax], dl
call fcn.10128238
add esp, 4
mov dword [esp + 0x6cc], eax
cmp eax, 0x1d1
jne 0x10048042
mov dword [esp + 0x6c0], ebp
lea edx, [esp + 0x384c]
push edx
lea eax, [esp + 0x2e08]
push eax
call edi
cmp byte [esp + 0x3534], 0
jne 0x1004806f
push 0x1015f288
lea ecx, [esp + 0x3538]
push ecx
call edi
jmp 0x100480b1
lea edx, [esp + 0x3534]
push 0x3c
push edx
call fcn.10128490
add esp, 8
test eax, eax
je 0x10048088
mov byte [eax], 0x20
lea eax, [esp + 0x3534]
push 0x3e
push eax
call fcn.10128490
add esp, 8
test eax, eax
je 0x100480a1
mov byte [eax], 0x20
lea ecx, [esp + 0x3534]
push ecx
call fcn.10061df0
add esp, 4
lea edx, [esp + 0x3534]
push edx
call fcn.10128238
mov dword [esp + 0x258], eax
lea eax, [esp + 0x3f68]
add esp, 4
push eax
call fcn.10061df0
xor eax, eax
mov ecx, 0x64
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov cl, byte [esp + 0x3f68]
add esp, 4
test cl, cl
je 0x10048101
cmp cl, 0x20
jne 0x10048101
mov cl, byte [esp + eax + 0x3f65]
inc eax
test cl, cl
jne 0x100480f0
mov cl, byte [esp + eax + 0x3f64]
xor edx, edx
cmp cl, 0x22
sete dl
mov esi, eax
lea edx, [edx + edx + 0x20]
test cl, cl
je 0x100481a1
lea edi, [esp + 0x28]
cmp edx, 0x22
jne 0x1004812f
mov cl, byte [esp + eax + 0x3f65]
inc eax
test cl, cl
je 0x10048146
movsx ebx, cl
cmp ebx, edx
je 0x10048146
mov cl, byte [esp + eax + 0x3f65]
inc eax
test cl, cl
jne 0x10048133
cmp edx, 0x22
jne 0x10048153
mov cl, byte [esp + eax + 0x3f65]
inc eax
lea edx, [esp + esi + 0x3f64]
mov byte [esp + eax + 0x3f64], 0
mov dword [edi], edx
inc eax
add edi, 4
test cl, cl
je 0x100481a1
mov cl, byte [esp + eax + 0x3f64]
test cl, cl
je 0x10048188
cmp cl, 0x20
jne 0x10048188
mov cl, byte [esp + eax + 0x3f65]
inc eax
test cl, cl
jne 0x10048177
mov cl, byte [esp + eax + 0x3f64]
xor edx, edx
cmp cl, 0x22
sete dl
mov esi, eax
lea edx, [edx + edx + 0x20]
test cl, cl
jne 0x10048122
mov edi, ebp
mov ecx, dword [esp + edi*4 + 0x24]
test ecx, ecx
je 0x100481d3
cmp byte [ecx], 0x22
jne 0x100481cd
inc ecx
mov eax, ecx
mov dword [esp + edi*4 + 0x24], ecx
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100481c0
sub eax, esi
mov byte [eax + ecx - 1], dl
inc edi
cmp edi, 0x64
jb 0x100481a3
cmp edi, 6
jae 0x100481df
xor eax, eax
jmp 0x10048458
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x100481ec
call fcn.10041df0
mov esi, dword [esp + 0x2c]
push 0x40
push esi
call fcn.10128490
mov ebx, dword [esp + 0x3c]
add esp, 8
test eax, eax
je 0x1004822a
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
push edi
push ebx
push eax
push esi
push ecx
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x260]
call fcn.10046610
add esp, 0x14
mov esi, eax
jmp 0x10048406
cmp byte [esi], 0
je 0x10048480
push 1
push 0
xor edx, edx
mov ecx, esi
call fcn.10060eb0
add esp, 8
test eax, eax
jne 0x10048480
mov dx, word [0x10163160]
mov al, byte [0x10163162]
push 0x20
lea ecx, [esp + 0x1c]
push ecx
push esi
mov word [esp + 0x24], dx
mov byte [esp + 0x26], al
call fcn.10129766
mov edi, eax
add esp, 0xc
mov dword [esp + 0x20], edi
test edi, edi
je 0x10048402
lea ecx, [esp + 0x1b4]
xor ebx, ebx
call fcn.1007ed00
mov dword [esp + 0x7f74], ebx
xor esi, esi
push 0x3ff
mov eax, edi
lea ecx, [esp + 0x3b68]
mov dword [esp + 0x18], esi
call fcn.10062730
add esp, 4
test eax, eax
je 0x100483da
mov ebp, dword [esp + 0x38]
jmp 0x100482c0
lea edx, [esp + 0x3b64]
push edx
call fcn.10061df0
mov al, byte [esp + 0x3b68]
add esp, 4
test al, al
je 0x10048383
cmp al, 0x3b
je 0x10048383
cmp al, 0x23
je 0x10048383
cmp al, 0x2f
je 0x10048383
lea eax, [esp + 0x3b64]
push 0x40
push eax
call fcn.10128490
add esp, 8
test eax, eax
je 0x10048383
push 0
lea ecx, [esp + 0x3b68]
lea edx, [esp + 0x1b8]
call fcn.1007eff0
test eax, eax
je 0x10048383
push 1
push 0x2c
lea esi, [esp + 0x3b6c]
lea edi, [esp + 0x1c]
call fcn.10089390
mov esi, dword [esp + 0x14]
inc ebx
cmp ebx, 0xa
jl 0x10048383
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push esi
push ecx
lea edx, [esp + 0x260]
mov ecx, ebp
xor ebx, ebx
call fcn.10046610
add esp, 0x14
mov dword [esp + 0x1c], eax
test esi, esi
je 0x10048383
push esi
call fcn.10128243
add esp, 4
xor esi, esi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x20]
push 0x3ff
lea ecx, [esp + 0x3b68]
call fcn.10062730
add esp, 4
test eax, eax
jne 0x100482c0
test esi, esi
je 0x100483da
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push esi
push edx
lea edx, [esp + 0x260]
mov ecx, ebp
call fcn.10046610
add esp, 0x14
push esi
mov dword [esp + 0x20], eax
call fcn.10128243
add esp, 4
mov eax, dword [esp + 0x20]
push eax
call fcn.10129ad3
add esp, 4
lea ecx, [esp + 0x1b4]
mov dword [esp + 0x7f74], 0xffffffff
call fcn.1007edd0
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x3744]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp byte [esp + 0x3744], 0
je 0x10048456
lea eax, [esp + 0x3744]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10048430
sub eax, edx
push eax
lea ecx, [esp + 0x3748]
push ecx
push ebx
call fcn.1013661b
add esp, 0xc
test eax, eax
jne 0x10048456
mov eax, ebx
call fcn.1005ad10
mov eax, esi
mov ecx, dword [esp + 0x7f6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7f50]
xor ecx, esp
call fcn.10127db1
add esp, 0x7f64
ret
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push edi
push ebx
push ecx
push esi
push edx
jmp 0x10048210