Function at 0x401000
Capabilities:
Check for time delay via gettickcount
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
or dword [ebp - 0x18], 0xffffffff
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x20], ebx
call fcn.004050cc
cmp dword [ebp + 8], 4
mov edi, dword [ebp + 0xc]
jl 0x4010a2
mov esi, dword [edi + 4]
mov eax, 0x414018
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40107a
cmp cl, bl
je 0x401076
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40107a
inc eax
inc eax
inc esi
inc esi
cmp cl, bl
jne 0x401058
xor eax, eax
jmp 0x40107f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4010a2
push dword [edi + 8]
call dword [sym.imp.MSVCRT.dll_atoi]
push dword [edi + 0x10]
push dword [edi + 0xc]
push eax
call fcn.00406638
add esp, 0x10
push ebx
call dword [sym.imp.MSVCRT.dll_exit]
push edi
call fcn.004022ed
pop ecx
call fcn.0040251f
mov dword [ebp - 0x4c], eax
call fcn.0040276f
cmp dword [ebp + 8], 2
mov dword [ebp - 0x48], eax
jle 0x40111a
mov esi, dword [edi + 4]
mov ecx, str._userConfig
mov dl, byte [ecx]
mov al, dl
cmp dl, byte [esi]
jne 0x4010e9
cmp al, bl
je 0x4010e5
mov dl, byte [ecx + 1]
mov al, dl
cmp dl, byte [esi + 1]
jne 0x4010e9
inc ecx
inc ecx
inc esi
inc esi
cmp al, bl
jne 0x4010c7
xor eax, eax
jmp 0x4010ee
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x40111a
cmp dword [ebp + 8], 4
jne 0x4010fd
push dword [edi + 0xc]
jmp 0x401104
cmp dword [ebp + 8], 3
jne 0x40110e
push ebx
push dword [edi + 8]
call fcn.00402a33
pop ecx
pop ecx
call fcn.004024c5
push ebx
call dword [sym.imp.MSVCRT.dll_exit]
cmp dword [ebp - 0x48], ebx
jne 0x401124
cmp dword [ebp - 0x4c], ebx
jne 0x401129
call fcn.004024c5
cmp dword [ebp + 8], 2
jne 0x40116c
mov esi, dword [edi + 4]
mov edi, str._quick
mov cl, byte [edi]
mov al, cl
cmp cl, byte [esi]
jne 0x401159
cmp al, bl
je 0x401155
mov cl, byte [edi + 1]
mov al, cl
cmp cl, byte [esi + 1]
jne 0x401159
inc edi
inc edi
inc esi
inc esi
cmp al, bl
jne 0x401137
xor eax, eax
jmp 0x40115e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x401169
push ebx
call dword [sym.imp.MSVCRT.dll_exit]
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 8]
call fcn.00401ba4
add esp, 0x50
cmp dword [ebp - 8], ebx
je 0x401207
cmp dword [ebp - 0x10], ebx
je 0x401207
push edi
push dword [ebp + 8]
push dword [ebp - 0x10]
push dword [ebp - 8]
call fcn.004012ad
push dword [ebp - 8]
mov esi, dword [sym.imp.MSVCRT.dll_free]
mov dword [ebp + 0xc], eax
call esi
push dword [ebp - 0x10]
call esi
add esp, 0x18
cmp dword [ebp + 0xc], 1
jne 0x401207
push edi
push dword [ebp - 0x18]
push dword [ebp - 4]
call fcn.00404f23
add esp, 0xc
cmp dword [ebp - 0xc], ebx
jne 0x401223
call fcn.004030db
push 0x414034
mov dword [ebp - 0xc], eax
call dword [sym.imp.MSVCRT.dll__strdup]
pop ecx
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp - 0xc]
call fcn.00402c35
push dword [ebp - 0x2c]
mov esi, eax
push edi
push dword [ebp + 8]
call fcn.00402372
add esp, 0x14
cmp eax, 1
je 0x401253
push edi
push dword [ebp - 0x18]
push dword [ebp - 4]
call fcn.00404f23
add esp, 0xc
push dword [ebp - 0x3c]
lea eax, [ebp - 0x9c]
push dword [ebp - 0x20]
push eax
push dword [ebp - 0x44]
push dword [ebp - 0x1c]
push dword [ebp - 0x34]
push dword [ebp - 0x40]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 4]
push dword [ebp - 0x30]
push ebx
push edi
push dword [ebp + 8]
push dword [ebp - 0x38]
push esi
call fcn.004013d5
call fcn.004050d8
push 0x414060
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 0x44
test eax, eax
je 0x4012a6
push dword [ebp - 0x1c]
call fcn.004050e4
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret