Function at 0x10007cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1001ae20
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10023050]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x10]
sub eax, 0x10
call fcn.1000c1b0
add eax, 0x10
mov dword [esp + 0x24], eax
push str.Label.dat
lea eax, [esp + 0x28]
push eax
mov edx, 0xa
mov dword [esp + 0x40], 0
call fcn.1000c3c0
mov edx, dword [0x10023afc]
mov eax, dword [edx + 0xc]
mov ecx, 0x10023afc
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x28], ebx
mov byte [esp + 0x38], 1
mov edx, dword [0x10023afc]
mov eax, dword [edx + 0xc]
mov ecx, 0x10023afc
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x38], 2
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 + 0x38], 3
mov edx, dword [0x10023afc]
mov eax, dword [edx + 0xc]
mov ecx, 0x10023afc
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x38], 4
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0x104
or eax, ecx
jge 0x10007d9d
mov ecx, 0x104
lea eax, [esp + 0x2c]
call fcn.10002ae0
mov ebp, dword [esp + 0x2c]
mov eax, 0x104
cmp dword [ebp - 8], eax
jge 0x10007db1
push 0x80070057
call fcn.10002bf0
mov edx, dword [esp + 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp + 0x104], 0
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x10007de5
mov ecx, 0x104
lea eax, [esp + 0x18]
call fcn.10002ae0
mov edx, dword [esp + 0x18]
mov eax, 0x104
cmp dword [edx - 8], eax
jge 0x10007df9
push 0x80070057
call fcn.10002bf0
mov dword [edx - 0xc], eax
mov byte [edx + 0x104], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x10007e2d
mov ecx, 0x104
lea eax, [esp + 0x1c]
call fcn.10002ae0
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, 0x104
cmp dword [esi - 8], eax
jge 0x10007e41
push 0x80070057
call fcn.10002bf0
mov dword [esi - 0xc], eax
mov byte [esi + 0x104], 0
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x410
or eax, ecx
jge 0x10007e75
mov ecx, 0x410
lea eax, [esp + 0x28]
call fcn.10002ae0
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov eax, 0x410
cmp dword [ebx - 8], eax
jge 0x10007e89
push 0x80070057
call fcn.10002bf0
mov ecx, dword [esp + 0x24]
push ebp
push ebx
push ecx
mov dword [ebx - 0xc], eax
mov ecx, esi
mov byte [ebx + 0x410], 0
call fcn.10004e00
mov dword [esp + 0x2c], eax
mov eax, dword [ebx - 8]
add esp, 0xc
push eax
push ebx
call dword [sym.imp.MSVCR90.dll_strnlen]
add esp, 8
test eax, eax
jl 0x10007da7
cmp eax, dword [ebx - 8]
jg 0x10007da7
mov dword [ebx - 0xc], eax
mov byte [eax + ebx], 0
mov eax, dword [esi - 8]
push eax
push esi
call dword [sym.imp.MSVCR90.dll_strnlen]
add esp, 8
test eax, eax
jl 0x10007da7
cmp eax, dword [esi - 8]
jg 0x10007da7
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 8]
push eax
push esi
call dword [sym.imp.MSVCR90.dll_strnlen]
add esp, 8
test eax, eax
jl 0x10007da7
cmp eax, dword [esi - 8]
jg 0x10007da7
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [ebp - 8]
push eax
push ebp
call dword [sym.imp.MSVCR90.dll_strnlen]
add esp, 8
test eax, eax
jl 0x10007da7
cmp eax, dword [ebp - 8]
jg 0x10007da7
cmp dword [esp + 0x20], 0
mov dword [ebp - 0xc], eax
mov byte [eax + ebp], 0
jne 0x10008033
push str.LoadLabelDat_Failed
push 0
push 0x80
mov esi, 0x10023490
call fcn.10003ad0
add ebp, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x38], 3
lea edx, [ebp + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x10007f8a
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007faf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007fd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007ff5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000801d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, dword [edi + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
push ebp
push str.ACTIONID
push str.SETUP
call ebx
mov edx, dword [0x10023afc]
mov eax, dword [edx + 0xc]
mov ecx, 0x10023afc
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea esi, [esp + 0x20]
lea eax, [esp + 0x1c]
mov byte [esp + 0x38], 5
call fcn.100079f0
mov eax, dword [edi + 0x14]
mov esi, dword [esp + 0x20]
push eax
push esi
push 0x1001d4a4
push str.SETUP
call ebx
mov eax, dword [edi + 0x14]
push eax
push esi
push str.DEFSN
push str.SETUP
call ebx
lea esi, [esp + 0x20]
lea eax, [esp + 0x18]
call fcn.100079f0
mov eax, dword [edi + 0x14]
mov esi, dword [esp + 0x20]
push eax
push esi
push 0x1001d4a8
push str.SETUP
call ebx
mov eax, dword [edi + 0x14]
push eax
push esi
push str.DEFID
push str.SETUP
call ebx
mov ebx, dword [edi + 0x14]
push 0
push str.WILLREBOOT
push str.SETUP
call fcn.100078f0
call dword [sym.imp.KERNEL32.dll_GetACP]
mov ebx, dword [edi + 0x14]
push eax
push str.CODEPAGE
push str.LANGUAGE
mov dword [edi + 0x20], eax
call fcn.100078f0
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 8]
mov eax, dword [edi + 0x10]
push ecx
push edx
push eax
push str._s_s_d
add edi, 0x18
call fcn.10002a40
lea eax, [esi - 0x10]
add esp, 0x10
mov byte [esp + 0x38], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10008139
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x38], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000815a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000817f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100081a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100081c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100081f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret