Function at 0x40e2b0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x46dc06
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x4946c0]
xor eax, esp
mov dword [esp + 0x2f0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4946c0]
xor eax, esp
push eax
lea eax, [esp + 0x308]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov edi, ecx
mov eax, dword [edi + 0x20]
push 0x1032
push eax
call ebp
test eax, eax
je 0x40e565
mov ecx, dword [edi + 0x20]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call ebp
mov edx, dword [edi + 0x20]
inc eax
push 2
lea esi, [eax - 1]
push esi
push 0x100c
push edx
call ebp
push 0x4967c0
push 0x104
lea eax, [esp + 0x208]
push eax
push 0
push str.exportpath
push str.window
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, esi
imul ecx, ecx, 0x584
lea eax, [ecx + edi]
mov dword [esp + 0x14], eax
add eax, 0x1d46c
push eax
lea edx, [esp + 0x204]
push 0x104
push edx
call fcn.00451eeb
add esp, 0xc
push 1
push 0
push edi
push str.DxWnd_config__.dxw_.dxwAll_files__._.
push 6
lea eax, [esp + 0x214]
push eax
push 0x4750cc
push 0
lea ecx, [esp + 0x40]
call fcn.0043c8f4
lea ecx, [esp + 0x20]
mov dword [esp + 0x310], 0
call fcn.0043c056
lea ecx, [esp + 0x20]
mov dword [eax + 0x30], str.Save_task_config._as_...
call fcn.0043d0dc
cmp eax, 1
jne 0x40e551
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
call fcn.0043d208
mov ebx, eax
mov eax, dword [ebx]
sub eax, 0x10
cmp dword [eax + 0xc], 1
mov byte [esp + 0x310], 1
jle 0x40e3f8
mov edx, dword [eax + 4]
push edx
mov ecx, ebx
call fcn.00401aa0
mov ecx, dword [ebx]
lea edx, [esp + 0x200]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x40e401
mov byte [esp + 0x310], al
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e432
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x200]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e440
sub eax, edx
cmp eax, 4
lea eax, [esp + 0x200]
jbe 0x40e48a
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e458
sub eax, edx
lea eax, [esp + eax + 0x1fc]
push 0x4750a8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40e4a9
lea eax, [esp + 0x200]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40e480
jmp 0x40e498
dec eax
jmp 0x40e490
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40e490
mov ecx, dword [0x4750a8]
mov dl, byte [0x4750ac]
mov dword [eax], ecx
mov byte [eax + 4], dl
mov eax, dword [esp + 0x14]
imul esi, esi, 0x1d4
mov ebp, dword [esi + edi + 0x200]
mov ebx, dword [esi + edi + 0x204]
lea edi, [esi + edi + 0x6c]
xor ecx, ecx
mov dword [edi + 0x194], ecx
mov dword [edi + 0x198], ecx
mov edx, dword [eax + 0x1d9e4]
push ecx
push edi
lea esi, [esp + 0x208]
lea ecx, [eax + 0x1d46c]
mov dword [esp + 0x20], edx
call fcn.0040a5c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add esp, 8
mov dword [ecx + 0x1d9e4], eax
call fcn.00407990
push 0x4967c0
push 1
push str.updatepaths
push str.window
mov dword [edi + 0x194], ebp
mov dword [edi + 0x198], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x40e551
mov edx, esi
push edx
call fcn.00407800
add esp, 4
push 0x4967c0
mov eax, esi
push eax
push str.exportpath
push str.window
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x20]
mov dword [esp + 0x310], 0xffffffff
call fcn.0043c73c
mov ecx, dword [esp + 0x308]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2f0]
xor ecx, esp
call fcn.00450c28
add esp, 0x300
ret