Function at 0x410a00
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4776f6
mov eax, dword fs:[0]
push eax
sub esp, 0x560
mov eax, dword [0x4a3f4c]
xor eax, esp
mov dword [esp + 0x55c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3f4c]
xor eax, esp
push eax
lea eax, [esp + 0x574]
mov dword fs:[0], eax
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov ebp, ecx
mov eax, dword [ebp + 0x20]
push 0x1032
push eax
call esi
test eax, eax
je 0x410f44
mov ecx, dword [ebp + 0x20]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call esi
mov edx, dword [ebp + 0x20]
inc eax
push 2
lea edi, [eax - 1]
push edi
push 0x100c
push edx
call esi
push 0x4a6238
push 0x104
lea eax, [esp + 0x26c]
push eax
push 0
push str.exportpath
push str.window
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, edi
imul ecx, ecx, 0x78c
lea ebx, [ecx + ebp]
lea eax, [ebx + 0x2006c]
lea ecx, [esp + 0x210]
mov dword [esp + 0x14], ebx
sub ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x410ac0
lea eax, [esp + 0x210]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410ad4
sub eax, edx
lea edx, [esp + 0x210]
push str.__:___
push edx
mov esi, eax
call fcn.0045d510
add esp, 8
cmp eax, esi
jae 0x410b48
jmp 0x410b00
lea ecx, [esp + eax + 0x211]
sub eax, ecx
lea edx, [esp + eax + 0x210]
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x410b10
lea eax, [esp + 0x210]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410b24
sub eax, edx
mov esi, eax
lea eax, [esp + 0x210]
push str.__:___
push eax
call fcn.0045d510
add esp, 8
cmp eax, esi
jb 0x410b00
lea ecx, [esp + 0x210]
push ecx
lea edx, [esp + 0x268]
push 0x104
push edx
call fcn.0045b98e
add esp, 0xc
push 1
push 0
push ebp
push str.DxWnd_config__.dxw_.dxwAll_files__._.
push 6
lea eax, [esp + 0x278]
push eax
push 0x4810f4
push 0
lea ecx, [esp + 0x50]
call fcn.00445db1
lea ecx, [esp + 0x30]
mov dword [esp + 0x57c], 0
call fcn.00445532
lea ecx, [esp + 0x30]
mov dword [eax + 0x30], str.Save_task_config._as_...
call fcn.00446599
cmp eax, 1
jne 0x410f30
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
call fcn.004466c5
mov esi, eax
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
mov byte [esp + 0x57c], 1
jle 0x410be4
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401940
mov ecx, dword [esi]
lea edx, [esp + 0x264]
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x410bf0
mov byte [esp + 0x57c], al
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 0x410c21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x264]
lea edx, [eax + 1]
jmp 0x410c30
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410c30
sub eax, edx
cmp eax, 4
lea eax, [esp + 0x264]
jbe 0x410c7a
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410c48
sub eax, edx
lea eax, [esp + eax + 0x260]
push 0x4810d0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x410c99
lea eax, [esp + 0x264]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x410c70
jmp 0x410c88
dec eax
jmp 0x410c80
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x410c80
mov ecx, dword [0x4810d0]
mov dl, byte [0x4810d4]
mov dword [eax], ecx
mov byte [eax + 4], dl
push 0x4a6238
xor esi, esi
push esi
shl edi, 9
push str.debugflags
lea ebp, [edi + ebp + 0x6c]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str.window
call edi
mov dword [esp + 0x20], eax
cmp eax, esi
jne 0x410d02
mov eax, dword [ebp + 0x1b4]
mov ecx, dword [ebp + 0x1b8]
mov edx, dword [ebp + 0x1bc]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c0]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], eax
mov dword [ebp + 0x1b4], esi
mov dword [ebp + 0x1b8], esi
mov dword [ebp + 0x1bc], esi
mov dword [ebp + 0x1c0], esi
mov ecx, dword [ebx + 0x207ec]
push 0x4a6238
push 1
push str.relpath
push str.window
mov dword [esp + 0x28], ecx
call edi
mov cl, byte [ebp + 4]
lea ebx, [ebp + 4]
cmp cl, 0x3f
jne 0x410d2c
xor eax, eax
cmp cl, 0x21
je 0x410e86
test eax, eax
je 0x410e86
lea edx, [esp + 0x46c]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x410d48
lea edi, [esp + 0x46c]
mov edx, edi
push 0x5c
push edx
call fcn.0045ba40
mov esi, eax
add esp, 8
test esi, esi
je 0x410d8f
lea esp, [esp]
push esi
push 0x47c9d8
call fcn.0041f800
mov edi, esi
push 0x5c
inc esi
push esi
call fcn.0045ba40
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x410d70
push 0x2f
push edi
call fcn.0045ba40
mov esi, eax
add esp, 8
test esi, esi
je 0x410dbf
push esi
push 0x47c9d8
call fcn.0041f800
mov edi, esi
push 0x2f
inc esi
push esi
call fcn.0045ba40
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x410da0
mov ax, word [0x4810cc]
mov cl, byte [0x4810ce]
lea edx, [esp + 0x368]
push edx
push str.newpath_s_n
mov word [esp + 0x370], ax
mov byte [esp + 0x372], cl
call fcn.0041f800
lea eax, [edi + 1]
add esp, 8
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x410df4
lea edi, [esp + 0x368]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x410e07
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x368]
push eax
and ecx, 3
push str.newpath_s_n
rep movsb byte es:[edi], byte [esi]
call fcn.0041f800
lea eax, [esp + 0x370]
mov edx, ebx
mov ecx, eax
add esp, 8
sub edx, ecx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x410e40
mov eax, dword [esp + 0x14]
add eax, 0x2006c
push 0
push eax
lea esi, [esp + 0x26c]
mov ecx, ebp
call fcn.0040c220
lea eax, [esp + 0x474]
mov edx, ebx
mov ecx, eax
add esp, 8
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x410e74
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
jmp 0x410ea3
mov eax, dword [esp + 0x14]
add eax, 0x2006c
push 0
push eax
lea esi, [esp + 0x26c]
mov ecx, ebp
call fcn.0040c220
add esp, 8
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x264]
mov dword [edx + 0x207ec], eax
call fcn.00408960
cmp dword [esp + 0x20], 0
jne 0x410eec
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x1b4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ebp + 0x1b8], edx
mov dword [ebp + 0x1bc], eax
mov dword [ebp + 0x1c0], ecx
push 0x4a6238
push 1
push str.updatepaths
push str.window
call edi
test eax, eax
je 0x410f30
lea edx, [esp + 0x264]
push edx
call fcn.00408760
add esp, 4
push 0x4a6238
lea eax, [esp + 0x268]
push eax
push str.exportpath
push str.window
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x30]
mov dword [esp + 0x57c], 0xffffffff
call fcn.00445bf9
mov ecx, dword [esp + 0x574]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x55c]
xor ecx, esp
call fcn.0045a1dd
add esp, 0x56c
ret