Function at 0x40b370
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4171cc
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x41e024]
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 ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x30c], ebx
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
lea eax, [ebx + 0x14]
push 0xb
mov dword [ebp - 4], edi
push str.BoxNews.exe
push eax
mov dword [ebx + 0x10], eax
mov byte [eax], 0
call fcn.0040c8d5
mov eax, dword [ebx + 0x10]
mov byte [eax + 0xb], 0
lea esi, [ebx + 0x54]
lea eax, [esi + 4]
push edi
push 0x41bc36
push eax
mov dword [esi], eax
mov byte [eax], 0
call fcn.0040c8d5
mov ecx, dword [esi]
add esp, 0x18
mov byte [ecx], 0
lea eax, [ebx + 0x9c]
mov dword [ebx + 0x98], eax
mov byte [eax], 0
lea eax, [ebx + 0xe0]
mov dword [ebx + 0xdc], eax
mov byte [eax], 0
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 4
call fcn.0040a130
mov byte [ebp - 4], 5
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
call fcn.00407e90
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2c0]
lea edx, [ebp - 0x2bc]
cmp eax, edx
je 0x40b448
push eax
call fcn.0040bbcf
add esp, 4
push 0x41bc36
mov ecx, str.Unins.exe
mov edi, esi
call fcn.00408070
mov ecx, dword [esi]
lea eax, [ebp - 0x300]
mov dword [ebp - 0x304], eax
mov byte [ebp - 0x300], 0
mov esi, ecx
test ecx, ecx
jne 0x40b479
mov esi, 0x41bc36
mov edi, esi
lea edx, [edi + 1]
mov edi, edi
mov cl, byte [edi]
inc edi
test cl, cl
jne 0x40b480
sub edi, edx
cmp edi, 0x3f
jl 0x40b4ac
lea eax, [edi + 1]
push eax
push 0
mov dword [ebp - 0x304], 0
call fcn.0040caf1
add esp, 8
mov dword [ebp - 0x304], eax
push edi
push esi
push eax
call fcn.0040c8d5
mov ecx, dword [ebp - 0x304]
add esp, 0xc
mov byte [edi + ecx], 0
push 0x41bc38
lea eax, [ebp - 0x304]
mov byte [ebp - 4], 6
call fcn.00407d90
push 0x64
lea edx, [ebp - 0x74]
push 0
push edx
call fcn.0040f650
mov eax, dword [ebp - 0x304]
add esp, 0xc
push eax
push 0x64
lea ecx, [ebp - 0x74]
push ecx
push str.BoxNews.exe
push str.RunSetup
push str.SysConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x74]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b510
sub eax, edx
mov edi, eax
cmp edi, 0x3f
jge 0x40b538
mov eax, dword [ebx + 0x10]
lea esi, [ebx + 0x14]
cmp eax, esi
je 0x40b575
push eax
call fcn.0040bbcf
add esp, 4
mov dword [ebx + 0x10], esi
jmp 0x40b575
mov edx, dword [ebx + 0x10]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b540
sub eax, esi
cmp edi, eax
jg 0x40b554
lea eax, [ebx + 0x14]
cmp edx, eax
jne 0x40b575
lea ecx, [ebx + 0x14]
cmp edx, ecx
jne 0x40b562
mov dword [ebx + 0x10], 0
mov eax, dword [ebx + 0x10]
lea edx, [edi + 1]
push edx
push eax
call fcn.0040caf1
add esp, 8
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x10]
push edi
lea ecx, [ebp - 0x74]
push ecx
push eax
call fcn.0040c8d5
mov edx, dword [ebx + 0x10]
push 0x103
lea eax, [ebp - 0x27b]
push 0
mov byte [edi + edx], 0
push eax
mov byte [ebp - 0x27c], 0
call fcn.0040f650
mov ecx, dword [ebp - 0x304]
add esp, 0x18
push ecx
push 0x104
lea edx, [ebp - 0x27c]
push edx
push 0x41bc36
push str.RName
push str.SysConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x27c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b5d8
sub eax, edx
je 0x40b6b5
xor eax, eax
lea ecx, [ebp - 0x27c]
cmp byte [ebp - 0x27c], al
je 0x40b607
xor byte [ecx], al
inc eax
inc ecx
cmp eax, 5
jne 0x40b602
xor eax, eax
cmp byte [ecx], 0
jne 0x40b5f7
lea eax, [ebp - 0x27c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b610
sub eax, edx
mov edi, eax
cmp edi, 0x3f
jge 0x40b641
mov eax, dword [ebx + 0x98]
lea esi, [ebx + 0x9c]
cmp eax, esi
je 0x40b694
push eax
call fcn.0040bbcf
add esp, 4
mov dword [ebx + 0x98], esi
jmp 0x40b694
mov edx, dword [ebx + 0x98]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b650
sub eax, esi
cmp edi, eax
jg 0x40b667
lea eax, [ebx + 0x9c]
cmp edx, eax
jne 0x40b694
lea ecx, [ebx + 0x9c]
cmp edx, ecx
jne 0x40b67b
mov dword [ebx + 0x98], 0
mov eax, dword [ebx + 0x98]
lea edx, [edi + 1]
push edx
push eax
call fcn.0040caf1
add esp, 8
mov dword [ebx + 0x98], eax
mov eax, dword [ebx + 0x98]
push edi
lea ecx, [ebp - 0x27c]
push ecx
push eax
call fcn.0040c8d5
mov edx, dword [ebx + 0x98]
add esp, 0xc
mov byte [edi + edx], 0
push 0x103
lea eax, [ebp - 0x177]
push 0
push eax
mov byte [ebp - 0x178], 0
call fcn.0040f650
mov ecx, dword [ebp - 0x304]
add esp, 0xc
push ecx
push 0x104
lea edx, [ebp - 0x178]
push edx
push 0x41bc36
push str.RName2
push str.SysConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x178]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b703
sub eax, edx
je 0x40b7e5
xor eax, eax
lea ecx, [ebp - 0x178]
cmp byte [ebp - 0x178], al
je 0x40b732
xor byte [ecx], al
inc eax
inc ecx
cmp eax, 5
jne 0x40b72d
xor eax, eax
cmp byte [ecx], 0
jne 0x40b722
lea eax, [ebp - 0x178]
lea edx, [eax + 1]
jmp 0x40b740
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b740
sub eax, edx
mov esi, eax
cmp esi, 0x3f
jge 0x40b771
mov eax, dword [ebx + 0xdc]
lea edi, [ebx + 0xe0]
cmp eax, edi
je 0x40b7c4
push eax
call fcn.0040bbcf
add esp, 4
mov dword [ebx + 0xdc], edi
jmp 0x40b7c4
mov edx, dword [ebx + 0xdc]
mov eax, edx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b780
sub eax, edi
cmp esi, eax
jg 0x40b797
lea eax, [ebx + 0xe0]
cmp edx, eax
jne 0x40b7c4
lea ecx, [ebx + 0xe0]
cmp edx, ecx
jne 0x40b7ab
mov dword [ebx + 0xdc], 0
mov eax, dword [ebx + 0xdc]
lea edx, [esi + 1]
push edx
push eax
call fcn.0040caf1
add esp, 8
mov dword [ebx + 0xdc], eax
mov eax, dword [ebx + 0xdc]
push esi
lea ecx, [ebp - 0x178]
push ecx
push eax
call fcn.0040c8d5
mov edx, dword [ebx + 0xdc]
add esp, 0xc
mov byte [esi + edx], 0
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push eax
push ecx
lea eax, [ebp - 0x308]
push eax
push ebx
call fcn.0040ae30
lea ecx, [ebp - 0x2bc]
push 0xd
mov edx, ecx
push str.SysConfig.ini
push edx
mov dword [ebp - 0x2c0], ecx
mov byte [ebp - 0x2bc], 0
call fcn.0040c8d5
mov eax, dword [ebp - 0x2c0]
add esp, 0xc
mov byte [eax + 0xd], 0
lea ecx, [ebp - 0x2c0]
push ecx
mov edi, ebx
mov byte [ebp - 4], 7
call fcn.0040ad70
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c0]
lea edx, [ebp - 0x2bc]
cmp eax, edx
je 0x40b857
push eax
call fcn.0040bbcf
add esp, 4
lea eax, [ebp - 0x2bc]
push 8
mov ecx, eax
push str.ybjc.exe
push ecx
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 0x2bc], 0
call fcn.0040c8d5
mov edx, dword [ebp - 0x2c0]
add esp, 0xc
mov byte [edx + 8], 0
lea eax, [ebp - 0x2c0]
push eax
mov edi, ebx
mov byte [ebp - 4], 8
call fcn.0040ad70
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c0]
lea ecx, [ebp - 0x2bc]
cmp eax, ecx
je 0x40b8b5
push eax
call fcn.0040bbcf
add esp, 4
lea edx, [ebp - 0x2bc]
push 9
mov eax, edx
push str.ybbus.exe
push eax
mov dword [ebp - 0x2c0], edx
mov byte [ebp - 0x2bc], 0
call fcn.0040c8d5
mov ecx, dword [ebp - 0x2c0]
add esp, 0xc
mov byte [ecx + 9], 0
lea edx, [ebp - 0x2c0]
push edx
mov edi, ebx
mov byte [ebp - 4], 9
call fcn.0040ad70
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c0]
lea ecx, [ebp - 0x2bc]
cmp eax, ecx
je 0x40b913
push eax
call fcn.0040bbcf
add esp, 4
lea edx, [ebp - 0x2bc]
push 6
mov eax, edx
push str.OK.exe
push eax
mov dword [ebp - 0x2c0], edx
mov byte [ebp - 0x2bc], 0
call fcn.0040c8d5
mov ecx, dword [ebp - 0x2c0]
add esp, 0xc
mov byte [ecx + 6], 0
lea edx, [ebp - 0x2c0]
push edx
mov edi, ebx
mov byte [ebp - 4], 0xa
call fcn.0040ad70
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c0]
lea ecx, [ebp - 0x2bc]
cmp eax, ecx
je 0x40b971
push eax
call fcn.0040bbcf
add esp, 4
lea edx, [ebp - 0x2bc]
push 9
mov eax, edx
push 0x41bbd0
push eax
mov dword [ebp - 0x2c0], edx
mov byte [ebp - 0x2bc], 0
call fcn.0040c8d5
mov ecx, dword [ebp - 0x2c0]
add esp, 0xc
mov byte [ecx + 9], 0
lea edx, [ebp - 0x2c0]
push edx
mov edi, ebx
mov byte [ebp - 4], 0xb
call fcn.0040ad70
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c0]
lea ecx, [ebp - 0x2bc]
cmp eax, ecx
je 0x40b9cf
push eax
call fcn.0040bbcf
add esp, 4
mov ecx, dword [ebx + 0x10]
lea eax, [ebp - 0x2bc]
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 0x2bc], 0
mov esi, ecx
test ecx, ecx
jne 0x40b9f0
mov esi, 0x41bc36
mov ecx, esi
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40b9f5
sub ecx, edi
mov edi, ecx
cmp edi, 0x3f
jl 0x40ba23
lea edx, [edi + 1]
push edx
push 0
mov dword [ebp - 0x2c0], 0
call fcn.0040caf1
add esp, 8
mov dword [ebp - 0x2c0], eax
push edi
push esi
push eax
call fcn.0040c8d5
mov eax, dword [ebp - 0x2c0]
add esp, 0xc
mov byte [edi + eax], 0
lea ecx, [ebp - 0x2c0]
push ecx
mov edi, ebx
mov byte [ebp - 4], 0xc
call fcn.0040ad70
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c0]
lea edx, [ebp - 0x2bc]
cmp eax, edx
je 0x40ba67
push eax
call fcn.0040bbcf
add esp, 4
lea eax, [ebp - 0x2bc]
push 5
mov ecx, eax
push str.Data_
push ecx
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 0x2bc], 0
call fcn.0040c8d5
mov edx, dword [ebp - 0x2c0]
add esp, 0xc
mov byte [edx + 5], 0
lea eax, [ebp - 0x2c0]
push eax
mov edi, ebx
mov byte [ebp - 4], 0xd
call fcn.0040ad70
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c0]
lea ecx, [ebp - 0x2bc]
cmp eax, ecx
je 0x40bac5
push eax
call fcn.0040bbcf
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x304]
lea edx, [ebp - 0x300]
cmp eax, edx
je 0x40bae2
push eax
call fcn.0040bbcf
add esp, 4
mov eax, ebx
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.0040bbc0
mov esp, ebp
pop ebp
ret 4