Function at 0x40afd0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x457906
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x4740f4]
xor eax, esp
mov dword [esp + 0x2ec], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4740f4]
xor eax, esp
push eax
lea eax, [esp + 0x304]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0x20]
push 0x1032
push eax
call ebp
test eax, eax
je 0x40b244
mov ecx, dword [esi + 0x20]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call ebp
mov edx, dword [esi + 0x20]
inc eax
push 2
lea edi, [eax - 1]
push edi
push 0x100c
push edx
call ebp
push 0x475698
push 0x104
lea eax, [esp + 0x204]
push eax
push 0
push str.exportpath
push str.window
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, edi
imul ecx, ecx, 0x264
lea eax, [ecx + esi + 0x1ac64]
push eax
lea edx, [esp + 0x200]
push 0x104
push edx
mov dword [esp + 0x20], eax
call fcn.00440bfb
add esp, 0xc
push 1
push 0
push esi
push str.dxwnd_task_config__.dxw_.dxwAll_Files__._.
push 6
lea eax, [esp + 0x210]
push eax
push str..dxw
push 0
lea ecx, [esp + 0x3c]
call fcn.0042c18d
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30c], 0
call fcn.0042c975
cmp eax, 1
jne 0x40b230
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.0042caa1
mov ebx, eax
mov eax, dword [ebx]
sub eax, 0x10
cmp dword [eax + 0xc], 1
mov byte [esp + 0x30c], 1
jle 0x40b107
mov edx, dword [eax + 4]
push edx
mov ecx, ebx
call fcn.004010e0
mov ecx, dword [ebx]
lea edx, [esp + 0x1fc]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x40b110
mov byte [esp + 0x30c], 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 0x40b141
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x1fc]
lea edx, [eax + 1]
jmp 0x40b150
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b150
sub eax, edx
cmp eax, 4
lea eax, [esp + 0x1fc]
jbe 0x40b19a
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b168
sub eax, edx
lea eax, [esp + eax + 0x1f8]
push 0x45d7ec
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40b1b9
lea eax, [esp + 0x1fc]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40b190
jmp 0x40b1a8
dec eax
jmp 0x40b1a0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40b1a0
mov ecx, dword [0x45d7ec]
mov dl, byte [0x45d7f0]
mov dword [eax], ecx
mov byte [eax + 4], dl
mov eax, dword [esp + 0x14]
imul edi, edi, 0x1ac
mov ebx, dword [edi + esi + 0x1e8]
lea ebp, [edi + esi + 0x64]
push eax
lea esi, [esp + 0x200]
xor edi, edi
mov ecx, ebp
mov dword [ebp + 0x184], 0
call fcn.004055a0
add esp, 4
push 0x475698
push 1
push str.updatepaths
push str.window
mov dword [ebp + 0x184], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x40b230
mov ecx, esi
push ecx
call fcn.004054b0
add esp, 4
push 0x475698
mov edx, esi
push edx
push str.exportpath
push str.window
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30c], 0xffffffff
call fcn.0042bfd5
mov ecx, dword [esp + 0x304]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2ec]
xor ecx, esp
call fcn.0043fd57
add esp, 0x2fc
ret