Function at 0x415c50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4359b9
mov eax, dword fs:[0]
push eax
sub esp, 0xc68
mov eax, dword [0x44500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp - 0xc74]
mov dword [ebp - 0xc74], eax
mov dword [ebp - 0xc74], 0x44a108
mov dword [0x44a108], 0x43ba38
mov dword [0x44a110], 0
mov dword [0x44a114], 0
mov dword [0x44a118], 0
mov dword [ebp - 4], 0
mov dword [0x44a11c], 0
mov dword [0x44a120], 0
mov dword [0x44a124], 0
xor eax, eax
mov dword [0x44a138], 0
mov dword [0x44a13c], 7
mov word [0x44a128], ax
mov dword [0x44a160], eax
mov dword [0x44a164], 0xf
mov byte [0x44a150], al
mov dword [0x44a178], eax
mov dword [0x44a17c], 0xf
mov byte [0x44a168], al
mov dword [0x44a190], eax
mov dword [0x44a194], 0xf
mov byte [0x44a180], al
mov dword [0x44a1a8], eax
mov dword [0x44a1ac], 0xf
mov byte [0x44a198], al
mov dword [0x44a1c4], eax
mov dword [0x44a1c8], 7
mov word [0x44a1b4], ax
mov dword [0x44a1dc], eax
mov dword [0x44a1e0], 7
mov word [0x44a1cc], ax
mov dword [0x44a1f4], eax
mov dword [0x44a1f8], 0xf
mov byte [0x44a1e4], al
mov dword [0x44a20c], eax
mov dword [0x44a210], 0xf
mov byte [0x44a1fc], al
mov dword [0x44a224], eax
mov dword [0x44a228], 0xf
mov byte [0x44a214], al
mov dword [0x44a23c], eax
mov dword [0x44a240], 0xf
mov byte [0x44a22c], al
mov dword [0x44a254], eax
mov dword [0x44a258], 0xf
mov byte [0x44a244], al
mov dword [0x44a270], eax
mov dword [0x44a274], 0xf
mov byte [0x44a260], al
mov dword [0x44a288], eax
mov dword [0x44a28c], 0xf
mov byte [0x44a278], al
push eax
xorps xmm0, xmm0
mov byte [ebp - 4], 0xf
push 0x43a7e9
mov ecx, 0x44a150
movups xmmword [0x44a140], xmm0
call fcn.00408050
push 0
push 0x43a7e9
mov ecx, 0x44a168
call fcn.00408050
push 0
push 0x43a7e9
mov ecx, 0x44a180
call fcn.00408050
push 0
push 0x43a7e9
mov ecx, 0x44a198
call fcn.00408050
push 0
push 0x43b0d8
mov ecx, 0x44a1b4
call fcn.00415360
push 0
push 0x43b0d8
mov ecx, 0x44a1cc
call fcn.00415360
push 0
push 0x43a7e9
mov ecx, 0x44a1e4
mov dword [0x44a1b0], 0
call fcn.00408050
push 0
push 0x43a7e9
mov ecx, 0x44a1fc
call fcn.00408050
push 0
push 0x43a7e9
mov ecx, 0x44a214
call fcn.00408050
push 0
push 0x43a7e9
mov ecx, 0x44a22c
call fcn.00408050
push 0
push 0x43a7e9
mov ecx, 0x44a244
call fcn.00408050
push 0
push 0x43a7e9
mov ecx, 0x44a260
mov byte [0x44a25c], 0
call fcn.00408050
push 0
push 0x43a7e9
mov ecx, 0x44a278
call fcn.00408050
push 0x208
lea eax, [ebp - 0x628]
mov byte [0x44a290], 0
push 0
push eax
mov dword [0x44a294], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath]
add esp, 0x14
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x43b0e4
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
add esp, 8
test eax, eax
je 0x416049
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push str._s_sufcphsom.log
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [ebp - 0x420]
add esp, 0x10
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x415fe4
lea edi, [ebp - 0x218]
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x416000
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416023
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x44a128
call fcn.00415360
jmp 0x4161cd
lea edx, [ebp - 0x420]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x416051
lea edi, [ebp - 0x218]
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x416070
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416093
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x44a128
call fcn.00415360
mov ecx, 0x44a108
call fcn.00416f10
mov edx, eax
lea ecx, [ebp - 0xc58]
call fcn.0042f4d0
xor eax, eax
mov byte [ebp - 4], 0x10
mov word [ebp - 0xc70], ax
mov eax, dword [ebp - 0xc48]
mov dword [ebp - 0xc60], 0
mov dword [ebp - 0xc5c], 7
lea ecx, [eax - 7]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0xc44], 8
lea eax, [ebp - 0xc58]
cmovae eax, dword [ebp - 0xc58]
push ecx
push eax
lea ecx, [ebp - 0xc70]
call fcn.00415360
cmp dword [ebp - 0xc5c], 8
lea eax, [ebp - 0xc70]
cmovae eax, dword [ebp - 0xc70]
push eax
lea eax, [ebp - 0x830]
push str._slogsTSHelpService.log
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0xc5c]
add esp, 0xc
cmp edx, 8
jb 0x416187
mov ecx, dword [ebp - 0xc70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41617d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41617d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00432a88
add esp, 8
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0xc44]
cmp edx, 8
jb 0x4161cd
mov ecx, dword [ebp - 0xc58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4161c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4161c3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00432a88
add esp, 8
lea eax, [ebp - 0x830]
push str.a__ccsutf_8
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
push 0x208
mov dword [0x44a10c], eax
lea eax, [ebp - 0xa38]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
lea eax, [ebp - 0xc40]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xc58]
mov edx, 0x44a128
push str.test.wk
call fcn.00415510
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x416230
mov eax, dword [eax]
push 0
push eax
call dword [0x438350]
mov edx, dword [ebp - 0xc44]
add esp, 8
mov esi, eax
cmp edx, 8
jb 0x416280
mov ecx, dword [ebp - 0xc58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416276
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x416276
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00432a88
add esp, 8
test esi, esi
jne 0x41638e
push str.test.wk
mov edx, 0x44a128
lea ecx, [ebp - 0xc58]
call fcn.00415510
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x4162a8
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x104
lea eax, [ebp - 0xa38]
push eax
push 0x43b0d8
push str.TestEnv
push str.Configs
call esi
mov edx, dword [ebp - 0xc44]
cmp edx, 8
jb 0x41630e
mov ecx, dword [ebp - 0xc58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416304
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x416304
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00432a88
add esp, 8
push str.test.wk
mov edx, 0x44a128
lea ecx, [ebp - 0xc58]
call fcn.00415510
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x41632e
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0xc40]
push eax
push 0x43b0d8
push str.KeepLogZip
push str.Configs
call esi
mov edx, dword [ebp - 0xc44]
cmp edx, 8
jb 0x41638e
mov ecx, dword [ebp - 0xc58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416384
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x416384
invalid
invalid
nop
lodsb al, byte [esi]
invalid