Function at 0x1102f6d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111da83e
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44c], ecx
mov dword [ecx + 8], eax
xor ecx, ecx
mov word [ebp - 0x38], cx
call fcn.11123260
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
test eax, eax
je 0x1102f72e
push eax
lea edx, [ebp - 0x38]
push 0x111f8968
push edx
call esi
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
push str.ApprovedWebList
lea ecx, [ebp - 0x448]
push str._s_s.htm
push ecx
call esi
add esp, 0x10
xor ebx, ebx
test ebx, ebx
jne 0x1102f774
push ebx
call fcn.111bb510
lea edx, [ebp - 0x240]
add esp, 4
sub edx, eax
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1102f760
jmp 0x1102f7f1
cmp ebx, 1
jne 0x1102f78d
lea edx, [ebp - 0x240]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x1102f7f1
cmp ebx, 2
jne 0x1102f7f1
push 0
call fcn.111bb510
lea edx, [ebp - 0x240]
add esp, 4
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1102f7a4
lea eax, [ebp - 0x240]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x1102f7c0
mov ecx, dword [str.Store_]
mov edx, dword [0x111f8928]
mov dword [eax], ecx
mov ecx, dword [0x111f892c]
mov dword [eax + 4], edx
mov dx, word [0x111f8930]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [ebp - 0x448]
mov esi, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1102f800
lea edi, [ebp - 0x240]
sub eax, esi
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x1102f816
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x240]
push eax
and ecx, 3
push str.Approved_list_file___s__n
rep movsb byte es:[edi], byte [esi]
call fcn.111bd7b0
lea ecx, [ebp - 0x240]
push 0x111f88e8
push ecx
call dword [sym.imp.MSVCR100.dll__wfopen]
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1102f89a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_opening_approved_list_file____d_n
call fcn.111bd7b0
inc ebx
add esp, 8
cmp ebx, 3
jl 0x1102f74a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 4
push str.Opened_approved_list_file__write_header_n
call fcn.111bd7b0
push 0x28
call fcn.111709c0
mov esi, eax
add esp, 8
mov dword [ebp - 0x450], esi
or ebx, 0xffffffff
mov dword [ebp - 4], 0
test esi, esi
je 0x1102f8e9
lea ecx, [esi + 8]
mov dword [esi], vtable.NSMFile.0
call fcn.1113dd30
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 0
mov word [esi + 0x20], 1
mov dword [esi + 0x24], ebx
mov ecx, esi
jmp 0x1102f8eb
xor ecx, ecx
mov esi, dword [ebp - 0x44c]
push 4
mov dword [ebp - 4], ebx
mov dword [esi + 4], ecx
call fcn.1113b6e0
lea eax, [ebp - 0x240]
lea edx, [esi + 0xc]
mov ecx, eax
sub edx, ecx
jmp 0x1102f910
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1102f910
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov eax, 1
jmp 0x1102f87c