Function at 0x10006e30
Capabilities:
Access peb ldr_data
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1001b1b2
mov eax, dword fs:[0]
push eax
mov eax, 0x1100
call fcn.10019cd0
mov eax, dword [0x10023050]
xor eax, esp
mov dword [esp + 0x10f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10023050]
xor eax, esp
push eax
lea eax, [esp + 0x1114]
mov dword fs:[0], eax
mov eax, dword [0x10023afc]
mov edx, dword [eax + 0xc]
mov ebp, dword [esp + 0x1124]
mov ecx, 0x10023afc
mov dword [esp + 0x30], 1
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
mov dword [esp + 0x111c], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x104
sub eax, edi
or eax, ecx
jge 0x10006ec4
mov ecx, edi
lea eax, [esp + 0x24]
call fcn.10002ae0
mov esi, dword [esp + 0x24]
cmp dword [esi - 8], edi
jge 0x10006ed3
push 0x80070057
call fcn.10002bf0
push esi
mov dword [esi - 0xc], edi
push edi
mov byte [esi + 0x104], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [esi - 8]
push eax
push esi
call dword [sym.imp.MSVCR90.dll_strnlen]
add esp, 8
test eax, eax
jl 0x10006ec9
cmp eax, dword [esi - 8]
jg 0x10006ec9
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [ebp + 0x14]
push eax
push esi
push str.TEMPPATH
push str.SETUP
call ebx
test eax, eax
jne 0x10006f42
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 0x14]
push eax
push str._s_WritePrivateProfileString_SETUP_TEMPPATH_is_error__0x_x
push 0
push 0x80
mov esi, 0x10023490
call fcn.10003ad0
add esp, 0x14
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x46]
movzx eax, word [esp + 0x44]
movzx ecx, word [esp + 0x42]
push edx
movzx edx, word [esp + 0x42]
push eax
movzx eax, word [esp + 0x44]
push ecx
push edx
push eax
push str._04d__02d__2d__02d:_02d
lea edi, [esp + 0x3c]
call fcn.10002a40
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x3c]
add esp, 0x18
push eax
push ecx
push str.TIME
push str.SETUP
call ebx
push 0
lea esi, [esp + 0x1b8]
call fcn.10010920
push 0x103
lea edx, [esp + 0x1009]
push 0
mov byte [esp + 0x1124], 1
push edx
mov byte [esp + 0x1010], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [esp + 0x1004]
push eax
mov ecx, str._QUICKLAUNCH_
mov edx, esi
call fcn.10010aa0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [esp + 0x1008]
push ecx
push str.QUICKLANUCH
push str.SETUP
call ebx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
push str.INSTALLPATH
push str.SETUP
call ebx
mov eax, dword [ebp + 0x14]
push eax
push 0x1001d474
push str.PUTDESKTOP
push str.SETUP
call ebx
mov eax, dword [ebp + 0x14]
push eax
push 0x1001d474
push str.PUTQUICKLAUNCH
push str.SETUP
call ebx
mov eax, dword [ebp + 0x10]
sub eax, 0x10
call fcn.1000c1b0
add eax, 0x10
mov dword [esp + 0x2c], eax
push str.12345678.000
lea edx, [esp + 0x30]
push edx
mov edx, 0xd
mov byte [esp + 0x1124], 2
call fcn.1000c3c0
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x74]
push eax
call fcn.10012c00
mov byte [esp + 0x111c], 3
mov esi, dword [esp + 0x2c]
or eax, 0xffffffff
push esi
lea ecx, [esp + 0x50]
push ecx
xor ebx, ebx
push eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0x4000
mov dword [esp + 0x68], ebx
call fcn.10012d80
test eax, eax
jne 0x1000761b
mov esi, dword [esp + 0x8c]
cmp esi, ebx
je 0x10007609
mov edx, dword [0x10023afc]
mov eax, dword [edx + 0xc]
mov ecx, 0x10023afc
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], ebx
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x28], ebx
mov byte [esp + 0x111c], 4
mov edx, dword [esi]
mov edx, dword [edx + 0x4c]
mov eax, 3
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
push ecx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x74], 2
mov dword [esp + 0x7c], 0
call edx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x100075a7
mov eax, dword [ebp + 0x14]
push 0
push 1
push eax
push 0x1001d4a4
push 0x1c
push 5
push ecx
call fcn.100076f0
mov eax, dword [ebp + 0x14]
push 0
push 1
push eax
mov eax, dword [esp + 0x28]
push 0x1001d4a8
push 0x10
push 6
push eax
call fcn.100076f0
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x1c]
push 0
push 1
push eax
push str.DEFSN
push 0x1c
push 5
push ecx
call fcn.100076f0
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x1c]
push 0
push 1
push eax
push str.DEFID
push 0x10
push 6
push edx
call fcn.100076f0
mov ecx, dword [esp + 0x1c]
mov edi, dword [ebp + 0x14]
mov esi, 0x105
lea edx, [esp + 0x18]
mov dword [esp + 0x20], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
push edx
push 3
mov dword [esp + 0x20], 0
call eax
mov ecx, dword [esp + 0x18]
push ecx
push str.SNTYPE
push str.SETUP
mov ebx, edi
call fcn.100078f0
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ebp + 0x14]
lea eax, [esp + 0x18]
mov dword [esp + 0x20], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push eax
push 4
mov dword [esp + 0x20], 0
call edx
mov eax, dword [esp + 0x18]
push eax
push str.SNSUBTYPE
push str.SETUP
call fcn.100078f0
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ebp + 0x14]
lea eax, [esp + 0x18]
mov dword [esp + 0x20], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push eax
push 0x11
mov dword [esp + 0x20], 0
call edx
mov eax, dword [esp + 0x18]
push eax
push str.SALETYPE
push str.SETUP
call fcn.100078f0
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ebp + 0x14]
lea eax, [esp + 0x18]
mov dword [esp + 0x20], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push eax
push 8
mov dword [esp + 0x20], 0
call edx
mov eax, dword [esp + 0x18]
push eax
push str.AREA
push str.SETUP
call fcn.100078f0
mov eax, dword [ebp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
push 0x1001d474
push str.CLIENTNUM
push str.SETUP
call edi
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ebp + 0x14]
lea eax, [esp + 0x18]
mov dword [esp + 0x20], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push eax
push 5
mov dword [esp + 0x20], 0
call edx
mov eax, dword [esp + 0x18]
push eax
push str.LIMIT
push str.SETUP
call fcn.100078f0
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ebp + 0x14]
lea eax, [esp + 0x18]
mov dword [esp + 0x20], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push eax
push 2
mov dword [esp + 0x20], 0
call edx
mov eax, dword [esp + 0x18]
push eax
push str.EDITION
push str.SETUP
call fcn.100078f0
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ebp + 0x14]
lea eax, [esp + 0x18]
mov dword [esp + 0x20], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push eax
push 6
mov dword [esp + 0x20], 0
call edx
mov eax, dword [esp + 0x18]
push eax
push str.BATCHNO
push str.SETUP
call fcn.100078f0
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ebp + 0x14]
lea eax, [esp + 0x18]
mov dword [esp + 0x20], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push eax
mov dword [esp + 0x1c], 0
push 7
call edx
mov eax, dword [esp + 0x18]
push eax
push str.FLOWNO
push str.SETUP
call fcn.100078f0
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ebp + 0x14]
lea eax, [esp + 0x18]
mov dword [esp + 0x20], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push eax
push 9
mov dword [esp + 0x20], 0
call edx
mov eax, dword [esp + 0x18]
push eax
push str.OEMID
push str.SETUP
call fcn.100078f0
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ebp + 0x14]
lea eax, [esp + 0x18]
mov dword [esp + 0x20], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push eax
push 0xa
mov dword [esp + 0x20], 0
call edx
mov eax, dword [esp + 0x18]
push eax
push str.HWTYPE
push str.SETUP
call fcn.100078f0
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ebp + 0x14]
lea eax, [esp + 0x18]
mov dword [esp + 0x70], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push eax
push 0xb
mov dword [esp + 0x20], 0
call edx
mov eax, dword [esp + 0x18]
push eax
push str.OSTYPE
push str.SETUP
call fcn.100078f0
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x1c]
push 1
push 0
push eax
push str.OSVER
push esi
push 0xc
push ecx
call fcn.100076f0
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x1c]
push 1
push 0
push eax
push str.CENTERNO
push esi
push 0xd
push edx
call fcn.100076f0
mov eax, dword [ebp + 0x14]
push 1
push 0
push eax
mov eax, dword [esp + 0x28]
push str.SERVERNO
push esi
push 0xe
push eax
call fcn.100076f0
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x1c]
push 1
push 0
push eax
push str.ENCRYPT
push esi
push 0x10
push ecx
call fcn.100076f0
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x1c]
push 1
push 0
push eax
push str.YEARTYPE
push esi
push 0x12
push edx
call fcn.100076f0
mov eax, dword [ebp + 0x14]
push 1
push 0
push eax
mov eax, dword [esp + 0x28]
push str.PACKTYPE
push esi
push 0xb
push eax
call fcn.100076f0
mov eax, dword [ebp + 0x14]
push eax
push 0x1001d474
push str.KEEPSETTINGS
push str.SETUP
call edi
mov edx, dword [0x10023afc]
mov eax, dword [edx + 0xc]
mov ecx, 0x10023afc
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x111c], 0x1b
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x34]
mov dword [esp + 0x34], esi
mov ebx, dword [ecx]
push edx
lea edi, [esp + 0x2c]
call fcn.10004620
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [ebx + 0x28]
push 0x79
call eax
mov esi, edi
call fcn.10004660
mov ebx, dword [esp + 0x28]
mov eax, ebx
lea ecx, [eax + 2]
jmp 0x10007510
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x10007510
push 0
sub eax, ecx
push 0
sar eax, 1
push 0x105
mov esi, 0x105
lea edi, [esp + 0x24]
mov dword [esp + 0x2c], eax
call fcn.10004620
mov ecx, dword [esp + 0x2c]
push eax
inc ecx
push ecx
push ebx
push 0x200
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, edi
call fcn.10004660
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x18]
push eax
push edx
push str.PRODUCTUID
push str.SETUP
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ebp, dword [ebp + 0x14]
mov eax, dword [esp + 0x1c]
push 0
push 1
push ebp
push str.UPDATEXMLURL
push 0x105
push 0x2e
push eax
call fcn.100076f0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov eax, edi
mov dword [esp + 0x1c], 0
call fcn.10002a20
add ebx, 0xfffffff0
mov byte [esp + 0x111c], 3
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100075cb
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
xor ebx, ebx
mov ecx, dword [esp + 0x78]
cmp ecx, ebx
je 0x100075e0
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [esp + 0x78], ebx
mov ecx, dword [esp + 0x84]
cmp ecx, ebx
je 0x100075f9
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
jmp 0x1000764b
mov edi, 0xfffffffa
mov ecx, ebp
call fcn.1000aa40
mov dword [esp + 0x30], ebx
jmp 0x100075cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.RsConfig_12345678.000_Failed_File_s_Err_d
push ebx
push 0x80
mov esi, 0x10023490
call fcn.10003ad0
add esp, 0x14
mov edi, 0xfffffffb
mov ecx, ebp
call fcn.1000aa40
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x74]
mov byte [esp + 0x111c], 2
call fcn.10012ce0
mov byte [esp + 0x111c], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007684
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x111c], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + method.CMacroToPath.virtual_0], vtable.CMacroToPath.0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100076ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10f8]
xor ecx, esp
call fcn.100192c6
add esp, 0x110c
ret 4