Function at 0x403e30
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4335b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
mov eax, dword [0x4441e0]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebp
push esi
push edi
mov edi, dword [esp + 0x260]
push edi
push 0x104
mov dword [esp + 0x254], eax
lea eax, [esp + 0x150]
push eax
push 0x435a07
push str.DefaultPath
push str.Global
mov esi, ecx
call ebx
lea eax, [esp + 0x148]
lea ecx, [esi + 0xc]
lea ebp, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x403e96
sub eax, ebp
push eax
lea edx, [esp + 0x14c]
push edx
call fcn.00402280
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
push 0
push str.ItemCount
push str.Global
call ebp
push edi
push 0
push str.WnWbCabNum
push str.Global
mov dword [esi + 0x14], eax
call ebp
push edi
push 0
push str.WnImeCabNum
push str.Global
mov dword [esi], eax
call ebp
push edi
push 0
push str.WnIeCabNum
push str.Global
mov dword [esi + 4], eax
call ebp
mov dword [esi + 8], eax
call fcn.00426313
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov eax, dword [ebp - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [ebp - 8]
sub eax, 0x3e8
or eax, ecx
mov dword [esp + 0x258], 0
jge 0x403f40
push 0x3e8
lea ecx, [esp + 0x18]
call fcn.00401cf0
mov ebp, dword [esp + 0x14]
push edi
push 0x104
push ebp
push 0x435a07
push str.WnWbHaveFile
push str.Global
call ebx
test ebp, ebp
jne 0x403f60
xor eax, eax
jmp 0x403f74
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403f65
sub eax, edx
js 0x404504
cmp eax, dword [ebp - 8]
jg 0x404504
push ecx
lea ebx, [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov dword [esp + 0x1c], esp
mov dword [esp + 0x14], esp
push ebx
mov byte [eax + ebp], 0
call fcn.00401d40
mov ecx, dword [esp + 0x18]
add eax, 0x10
mov dword [ecx], eax
add esp, 4
mov ecx, esi
call fcn.004039e0
mov eax, dword [ebx + 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [ebx + 8]
sub eax, 0x3e8
or eax, ecx
jge 0x403fd1
push 0x3e8
lea ecx, [esp + 0x18]
call fcn.00401cf0
mov ebp, dword [esp + 0x14]
push edi
push 0x104
push ebp
push 0x435a07
push str.WnImeHaveFile
push str.Global
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test ebp, ebp
jne 0x403ff5
xor eax, eax
jmp 0x40400f
mov eax, ebp
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404000
sub eax, edx
js 0x404504
cmp eax, dword [ebp - 8]
jg 0x404504
push ecx
lea ebx, [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov dword [esp + 0x1c], esp
mov dword [esp + 0x14], esp
push ebx
mov byte [eax + ebp], 0
call fcn.00401d40
mov edx, dword [esp + 0x18]
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edx], eax
call fcn.00403b50
mov eax, dword [ebx + 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [ebx + 8]
sub eax, 0x3e8
or eax, ecx
jge 0x40406c
push 0x3e8
lea ecx, [esp + 0x18]
call fcn.00401cf0
mov ebp, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push 0x104
push ebp
push 0x435a07
push str.WnIeHaveFile
push str.Global
call ebx
test ebp, ebp
jne 0x404092
xor eax, eax
jmp 0x4040a6
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404097
sub eax, edx
js 0x404504
cmp eax, dword [ebp - 8]
jg 0x404504
mov dword [ebp - 0xc], eax
push ecx
mov byte [eax + ebp], 0
add ebp, 0xfffffff0
mov dword [esp + 0x1c], esp
mov dword [esp + 0x14], esp
push ebp
mov dword [esp + 0x20], ebp
call fcn.00401d40
mov ecx, dword [esp + 0x18]
add eax, 0x10
mov dword [ecx], eax
add esp, 4
mov ecx, esi
call fcn.00403cc0
mov ebp, dword [esi + 0x14]
test ebp, ebp
je 0x4043a0
mov edx, ebp
shl edx, 5
add edx, 4
push edx
call fcn.0042b0fd
add esp, 4
test eax, eax
je 0x404119
push 0x401ff0
push 0x401fb0
push ebp
lea ebx, [eax + 4]
push 0x20
push ebx
mov dword [eax], ebp
call fcn.00418fed
jmp 0x40411b
xor ebx, ebx
mov eax, dword [esi + 0x14]
mov dword [esi + 0x20], ebx
mov ebx, 1
cmp eax, ebx
jl 0x40439a
mov ebp, 0x20
push ebx
lea eax, [esp + 0x20]
push str.ItemName_d
push eax
call fcn.00418f95
add esp, 0xc
push edi
push 0x104
lea ecx, [esp + 0x4c]
push ecx
push 0x435a07
lea edx, [esp + 0x2c]
push edx
push str.Global
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esi + 0x20]
lea ecx, [eax + ebp - 0x1c]
lea eax, [esp + 0x44]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404178
sub eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00402130
push ebx
lea ecx, [esp + 0x20]
push str.ItemDescribe_d
push ecx
call fcn.00418f95
add esp, 0xc
push edi
push 0x104
lea edx, [esp + 0x4c]
push edx
push 0x435a07
lea eax, [esp + 0x2c]
push eax
push str.Global
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x44]
lea edx, [eax + 1]
lea ecx, [ecx + ebp - 0x18]
mov dword [esp + 0x10], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4041d3
sub eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00402130
mov ecx, dword [esi + 0x20]
push ebx
lea edx, [esp + 0x20]
push str.ItemCab_d
push edx
mov dword [ecx + ebp - 0x14], 1
call fcn.00418f95
add esp, 0xc
push edi
push 0x104
lea eax, [esp + 0x4c]
push eax
push 0x435a07
lea ecx, [esp + 0x2c]
push ecx
push str.Global
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [esi + 0x20]
lea eax, [esp + 0x44]
lea ecx, [edx + ebp - 0x10]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404240
sub eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00402130
push ebx
lea ecx, [esp + 0x20]
push str.ItemExeFile_d
push ecx
call fcn.00418f95
add esp, 0xc
push edi
push 0x104
lea edx, [esp + 0x4c]
push edx
push 0x435a07
lea eax, [esp + 0x2c]
push eax
push str.Global
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x44]
lea edx, [eax + 1]
lea ecx, [ecx + ebp - 0x20]
mov dword [esp + 0x10], edx
jmp 0x4042a0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4042a0
sub eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00402130
push ebx
lea ecx, [esp + 0x20]
push str.ItemParameter_d
push ecx
call fcn.00418f95
add esp, 0xc
push edi
push 0x104
lea edx, [esp + 0x4c]
push edx
push 0x435a07
lea eax, [esp + 0x2c]
push eax
push str.Global
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x44]
lea edx, [eax + 1]
lea ecx, [ecx + ebp - 8]
mov dword [esp + 0x10], edx
jmp 0x404300
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404300
sub eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00402130
mov ecx, 0x445218
call fcn.00407eb0
test eax, eax
push ebx
je 0x404331
push str.ItemRegExeFile64_d
lea ecx, [esp + 0x24]
push ecx
jmp 0x40433b
push str.ItemRegExeFile_d
lea edx, [esp + 0x24]
push edx
call fcn.00418f95
add esp, 0xc
push edi
push 0x104
lea eax, [esp + 0x4c]
push eax
push 0x435a07
lea ecx, [esp + 0x2c]
push ecx
push str.Global
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [esi + 0x20]
lea eax, [esp + 0x44]
lea ecx, [edx + ebp - 0xc]
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404375
sub eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00402130
mov eax, dword [esi + 0x14]
inc ebx
add ebp, 0x20
cmp ebx, eax
jle 0x404133
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push 0
push str.nShowEndPage
push str.Global
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
mov dword [esi + 0x18], eax
je 0x4044b2
mov ebp, 1
cmp eax, ebp
jl 0x4044b2
jmp 0x4043d0
lea ecx, [esp + 0x1c]
call fcn.00401080
push ebp
lea ecx, [esp + 0x34]
push str.RunExe_Text_d
push ecx
mov byte [esp + 0x264], 1
mov dword [esp + 0x30], 0
call fcn.00418f95
add esp, 0xc
push edi
push 0x104
lea edx, [esp + 0x4c]
push edx
push 0x435a07
lea eax, [esp + 0x40]
push eax
push str.Global
call ebx
lea eax, [esp + 0x44]
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404420
sub eax, ecx
push eax
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x24]
call fcn.00402130
push ebp
lea edx, [esp + 0x34]
push str.RunExe_Run_d
push edx
call fcn.00418f95
add esp, 0xc
push edi
push 0x104
lea eax, [esp + 0x4c]
push eax
push 0x435a07
lea ecx, [esp + 0x40]
push ecx
push str.Global
call ebx
lea eax, [esp + 0x44]
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404470
sub eax, ecx
push eax
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x28]
call fcn.00402130
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0x28]
call fcn.00403740
lea ecx, [esp + 0x1c]
mov byte [esp + 0x258], 0
call fcn.004010b0
mov eax, dword [esi + 0x18]
inc ebp
cmp ebp, eax
jle 0x4043d0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x258], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4044d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x24c]
mov eax, 1
call fcn.004185be
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret 4
push 0x80070057
call fcn.00401230
int3