Function at 0x4127c0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4475ab
mov eax, dword fs:[0]
push eax
sub esp, 0xe28
mov eax, dword [0x465d44]
xor eax, esp
mov dword [esp + 0xe24], eax
push ebx
push esi
push edi
mov eax, dword [0x465d44]
xor eax, esp
push eax
lea eax, [esp + 0xe38]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe48]
mov ebx, 8
mov edi, ecx
mov dword [esp + 0x18], eax
cmp dword [eax + 0x18], ebx
jb 0x412816
mov eax, dword [eax + 4]
jmp 0x412819
add eax, 4
push eax
lea ecx, [esp + 0x14]
call fcn.00411990
mov dword [esp + 0xe40], 0
call fcn.0040a010
add eax, 0x220
cmp dword [eax + 0x18], ebx
jb 0x412842
mov eax, dword [eax + 4]
jmp 0x412845
add eax, 4
push eax
push str._XLInstall
lea ecx, [esp + 0x18]
call fcn.00411530
call fcn.0040a010
add eax, 0x290
cmp dword [eax + 0x18], ebx
jb 0x412868
mov eax, dword [eax + 4]
jmp 0x41286b
add eax, 4
push eax
push str._XLData
lea ecx, [esp + 0x18]
call fcn.00411530
call fcn.0040a010
add eax, 0x1cc
cmp dword [eax + 0x18], ebx
jb 0x41288e
mov eax, dword [eax + 4]
jmp 0x412891
add eax, 4
push eax
push str._XLProgramData
lea ecx, [esp + 0x18]
call fcn.00411530
call fcn.0040a010
add eax, 0x258
cmp dword [eax + 0x18], ebx
jb 0x4128b4
mov eax, dword [eax + 4]
jmp 0x4128b7
add eax, 4
push eax
push str._XLProfiles
lea ecx, [esp + 0x18]
call fcn.00411530
call fcn.0040a010
add eax, 0x274
cmp dword [eax + 0x18], ebx
jb 0x4128da
mov eax, dword [eax + 4]
jmp 0x4128dd
add eax, 4
push eax
push str._XLAddins
lea ecx, [esp + 0x18]
call fcn.00411530
call fcn.0040a010
add eax, 0x23c
cmp dword [eax + 0x18], ebx
jb 0x412900
mov eax, dword [eax + 4]
jmp 0x412903
add eax, 4
push eax
push str._XLSkin
lea ecx, [esp + 0x18]
call fcn.00411530
call fcn.0040a010
add eax, 0x1e8
cmp dword [eax + 0x18], ebx
jb 0x412926
mov eax, dword [eax + 4]
jmp 0x412929
add eax, 4
push eax
push str._XLUserData
lea ecx, [esp + 0x18]
call fcn.00411530
cmp dword [edi + 0x38], ebx
jb 0x412942
mov eax, dword [edi + 0x24]
jmp 0x412945
lea eax, [edi + 0x24]
push eax
push str._PacketVersion
lea ecx, [esp + 0x18]
call fcn.00411530
cmp dword [edi + 0x1c], ebx
jb 0x41295e
mov eax, dword [edi + 8]
jmp 0x412961
lea eax, [edi + 8]
push eax
push str._OldVersion
lea ecx, [esp + 0x18]
call fcn.00411530
call fcn.0040a010
mov ecx, eax
call fcn.00411eb0
push eax
push str._QuickLaunch
lea ecx, [esp + 0x18]
call fcn.00411530
call fcn.0040a010
add eax, 0x78
cmp dword [eax + 0x18], ebx
jb 0x41299d
mov eax, dword [eax + 4]
jmp 0x4129a0
add eax, 4
push eax
push str._AppData
lea ecx, [esp + 0x18]
call fcn.00411530
call fcn.0040a010
add eax, 0xcc
cmp dword [eax + 0x18], ebx
jb 0x4129c3
mov eax, dword [eax + 4]
jmp 0x4129c6
add eax, 4
push eax
push str._SystemDirectory
lea ecx, [esp + 0x18]
call fcn.00411530
call fcn.0040a010
add eax, 0x2c8
cmp dword [eax + 0x18], ebx
jb 0x4129e9
mov eax, dword [eax + 4]
jmp 0x4129ec
add eax, 4
push eax
push str._BhoProfilePath
lea ecx, [esp + 0x18]
call fcn.00411530
call fcn.0040a010
add eax, 0x220
cmp dword [eax + 0x18], ebx
jb 0x412a0f
mov eax, dword [eax + 4]
jmp 0x412a12
add eax, 4
push eax
push str._UserInstdir
lea ecx, [esp + 0x18]
call fcn.00411530
call fcn.0040a010
add eax, 0x204
cmp dword [eax + 0x18], ebx
jb 0x412a35
mov eax, dword [eax + 4]
jmp 0x412a38
add eax, 4
push eax
push str._XLLocalLowPath
lea ecx, [esp + 0x18]
call fcn.00411530
call fcn.0040a010
add eax, 0x1ac
cmp dword [eax + 0x18], ebx
jb 0x412a5b
mov eax, dword [eax + 4]
jmp 0x412a5e
add eax, 4
push eax
push str._Temp
lea ecx, [esp + 0x18]
call fcn.00411530
cmp dword [edi], 2
jne 0x412aac
call fcn.0040a010
add eax, 0x174
cmp dword [eax + 0x18], ebx
jb 0x412a86
mov eax, dword [eax + 4]
jmp 0x412a89
add eax, 4
push eax
push str._Desktop
lea ecx, [esp + 0x18]
call fcn.00411530
call fcn.0040a010
add eax, 0x190
cmp dword [eax + 0x18], ebx
jb 0x412ae6
mov eax, dword [eax + 4]
jmp 0x412ae9
call fcn.0040a010
add eax, 0x104
cmp dword [eax + 0x18], ebx
jb 0x412ac0
mov eax, dword [eax + 4]
jmp 0x412ac3
add eax, 4
push eax
push str._Desktop
lea ecx, [esp + 0x18]
call fcn.00411530
call fcn.0040a010
add eax, 0x120
cmp dword [eax + 0x18], ebx
jb 0x412ae6
mov eax, dword [eax + 4]
jmp 0x412ae9
add eax, 4
push eax
push str._SMPrograms
lea ecx, [esp + 0x18]
call fcn.00411530
cmp dword [edi + 0x50], 0
je 0x412b08
cmp dword [edi + 0x6c], 0
jne 0x412c90
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x26]
push ecx
mov word [esp + 0x28], ax
call fcn.004310d0
add esp, 0xc
mov dword [esp + 0x14], 0
xor esi, esi
call fcn.0040a010
add eax, 0x220
cmp dword [eax + 0x18], ebx
jb 0x412b40
mov eax, dword [eax + 4]
jmp 0x412b43
add eax, 4
push str.XLDoctorxldoctorname.ini
push eax
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0041ec20
add esp, 8
cmp dword [esp + 0x14], esi
je 0x412bc5
xor edx, edx
push 0x7fe
push edx
lea eax, [esp + 0x63e]
push eax
mov word [esp + 0x640], dx
call fcn.004310d0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0x3ff
lea edx, [esp + 0x63c]
push edx
push 0x44f5d0
push 0x45343c
push str.xldoctor
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x634]
push eax
call fcn.0043294c
add esp, 4
mov esi, eax
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x436]
push edx
mov word [esp + 0x438], cx
call fcn.004310d0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x23a]
push ecx
mov word [esp + 0x23c], ax
call fcn.004310d0
add esp, 0x18
inc esi
cmp dword [edi + 0x38], ebx
jb 0x412c0d
mov eax, dword [edi + 0x24]
jmp 0x412c10
lea eax, [edi + 0x24]
push esi
push eax
lea edx, [esp + 0x434]
push str._s__d
push edx
call fcn.00431b0c
push esi
lea eax, [esp + 0x238]
push 0x453414
push eax
call fcn.00431b0c
lea eax, [esp + 0x448]
add esp, 0x1c
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412c44
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x430]
push ecx
lea ecx, [edi + 0x3c]
call fcn.0040376d
lea eax, [esp + 0x224]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412c70
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x228]
push edx
lea ecx, [edi + 0x58]
call fcn.0040376d
cmp dword [edi + 0x54], ebx
jb 0x412c9a
mov eax, dword [edi + 0x40]
jmp 0x412c9d
lea eax, [edi + 0x40]
push eax
push str._XLDoctorName
lea ecx, [esp + 0x18]
call fcn.00411530
cmp dword [edi + 0x70], ebx
jb 0x412cb6
mov eax, dword [edi + 0x5c]
jmp 0x412cb9
lea eax, [edi + 0x5c]
push eax
push str._XLDoctorNum
lea ecx, [esp + 0x18]
call fcn.00411530
mov esi, dword [esp + 0x10]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412cd1
mov ecx, dword [esp + 0x18]
sub eax, edx
sar eax, 1
push eax
push esi
call fcn.0040376d
lea eax, [esi - 0xc]
cmp eax, dword [0x462010]
je 0x412d0d
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x412d0d
push esi
call fcn.00431216
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xe38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe24]
xor ecx, esp
call fcn.004310bf
add esp, 0xe34
ret 4