Function at 0x4020b0
Capabilities:
Create thread
Delete file
Print debug messages
Read .ini file

Disassembly:
sub esp, 0xe4
mov eax, dword [0x43a05c]
xor eax, esp
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xf0]
push eax
mov dword [esp + 4], eax
call fcn.00401e00
add esp, 4
test eax, eax
je 0x4020f5
xor eax, eax
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.0040892b
add esp, 0xe4
ret 0x10
push ebx
push ebp
push esi
push edi
mov ecx, 8
mov esi, str.fef6692cf57b356133f85150a324e894
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
push 0xa7
lea eax, [esp + 0x4d]
push 0
push eax
movsb byte es:[edi], byte [esi]
call fcn.00409440
mov edx, dword [0x44482c]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x44482c
call eax
mov edx, dword [0x44482c]
mov ebp, eax
mov eax, dword [edx + 0xc]
add ebp, 0x10
mov ecx, 0x44482c
mov dword [esp + 0x14], ebp
call eax
lea ecx, [esp + 0x28]
push ecx
mov ebx, eax
push str.7bc69fc397b3d49d19f03b2d087dfcca
mov edx, ecx
add ebx, 0x10
push edx
mov dword [esp + 0x28], ebx
call fcn.004082d0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x445ba0], eax
test eax, eax
je 0x402595
mov eax, dword [0x445bb0]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, 0x104
or ecx, edx
jge 0x4021a8
mov ecx, 0x104
mov eax, 0x445bb0
call fcn.00402e60
mov eax, dword [0x445bb0]
push 0x103
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x445bb0]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00408e7c
add esp, 8
test eax, eax
jl 0x4025d6
mov ecx, dword [0x445bb0]
cmp eax, dword [ecx - 8]
jg 0x4025d6
mov dword [ecx - 0xc], eax
mov edx, dword [0x445bb0]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [0x445bb0]
push 0x5c
push eax
call fcn.00408e50
add esp, 8
test eax, eax
je 0x40221f
mov edx, dword [0x445bb0]
sub eax, edx
sar eax, 1
mov ecx, eax
cmp ecx, 2
jle 0x40221f
mov eax, dword [edx - 0xc]
sub eax, ecx
dec eax
inc ecx
call fcn.004026f0
mov ecx, 0xc
mov esi, str.3a537c0a1dda0746ebc9aee7e3ef6e9bc28b1ea22ec08911
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x28]
push ecx
push str.7bc69fc397b3d49d19f03b2d087dfcca
mov edx, ecx
movsb byte es:[edi], byte [esi]
mov esi, dword [0x445ba0]
push edx
call fcn.004082d0
lea eax, [esp + 0x28]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov ecx, dword [0x445ba0]
push str.CreateMutexW
push ecx
mov dword [0x445ba4], eax
call esi
mov esi, eax
test esi, esi
jne 0x402284
lea eax, [ebx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4025a5
push str.rrtt5328
push 0
push 0
call esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40258e
test edi, edi
je 0x40258e
push str.mainx_0003
push 0
push 0
call esi
mov ecx, 8
mov esi, str.2590553b765911f6610b63c3630b6eac
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x28]
push ecx
push str.7bc69fc397b3d49d19f03b2d087dfcca
mov edx, ecx
push edx
movsb byte es:[edi], byte [esi]
call fcn.004082d0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, 0x10
mov esi, str.0bda0108a7b3e3c5f916c213ee516eaab039aae7bc8535db3c7723e53ec65aae
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x445ba0]
movsb byte es:[edi], byte [esi]
push ecx
lea esi, [esp + 0x2c]
mov dword [0x445ba8], eax
call fcn.004032f0
xor edi, edi
add esp, 4
cmp eax, edi
je 0x402319
push section..text
call eax
mov ecx, str.yy6677823
mov eax, str.rrtt5328
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402349
cmp dx, di
je 0x402345
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402349
add eax, 4
add ecx, 4
cmp dx, di
jne 0x402323
xor eax, eax
jmp 0x40234e
sbb eax, eax
sbb eax, 0xffffffff
mov ebp, dword [esp + 0x10]
xor edx, edx
cmp eax, edi
setne dl
push ebp
mov dword [0x445b8c], edx
call fcn.00408a8e
mov dword [0x445b90], eax
lea eax, [esp + 0x14]
push 0x445bb0
push eax
mov ebx, str.log.dat
call fcn.00402a90
mov eax, dword [eax]
add esp, 0xc
push eax
push edi
push str.Test
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x445b9c], eax
lea eax, [esp + 0x10]
call fcn.004025f0
lea ecx, [esp + 0x10]
push 0x445bb0
push ecx
call fcn.00402a90
mov eax, dword [eax]
add esp, 8
push eax
push 0x3ff
mov ecx, 0x400
mov esi, 0x445bb4
call fcn.00402b70
push eax
push 0x436c0c
push 0x436b9c
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x10]
call fcn.004025f0
call fcn.00402b90
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
lea edx, [esp + 0x28]
push edx
push 0x401790
push edi
push edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call esi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
push 0x401110
push edi
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x445b94], edi
je 0x402434
cmp dword [0x445b98], edi
jne 0x40243a
push 0x64
call esi
jmp 0x402424
mov eax, 0x445bb8
lea edi, [esp + 0x14]
call fcn.00402610
cmp dword [esp + 0x20], 0
je 0x4024d2
cmp dword [esp + 0x24], 0
je 0x4024d2
mov ecx, edi
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004029d0
push eax
lea eax, [esp + 0x1c]
push eax
mov ebx, str..dll
call fcn.00402a90
mov eax, dword [eax]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
lea eax, [esp + 0x10]
call fcn.004025f0
lea eax, [esp + 0x18]
call fcn.004025f0
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test esi, esi
jne 0x4024a8
push str.Netdll_is_Invald_n
call ebx
push str.d011
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x445bb0]
push 6
push ecx
mov esi, eax
call dword [0x445ba4]
test esi, esi
jne 0x40252a
push str.pStartGOTO_is_Invald_n
call ebx
lea edx, [esp + 0x18]
push 0x445bb0
push edx
mov ebx, str.log.dat
call fcn.00402a90
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x18]
call fcn.004025f0
lea eax, [esp + 0x1c]
call fcn.004025f0
lea eax, [esp + 0x14]
call fcn.004025f0
xor eax, eax
mov ecx, dword [esp + 0xf0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040892b
add esp, 0xe4
ret 0x10
push 0x436bfc
push ebp
call fcn.00408a99
add esp, 8
test eax, eax
je 0x402543
mov edi, 1
jmp 0x40255a
push 0x436c04
push ebp
call fcn.00408a99
add esp, 8
test eax, eax
je 0x40255a
mov edi, 2
mov edx, dword [0x445b8c]
mov eax, dword [0x445b90]
push edi
push edx
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x1c]
call fcn.004025f0
lea eax, [esp + 0x14]
call fcn.004025f0
mov eax, 1
jmp 0x40250f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4025b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40250d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40250d
push 0x80070057
call fcn.00403230
int3