Function at 0x408f7b
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 8]
push eax
push 0x4181dc
call dword [sym.imp.ole32.dll_CoGetObjectContext]
mov dword [0x4194d8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 3
pop esi
mov ecx, esi
xor eax, eax
mov edx, dword [0x419454]
mov edx, dword [edx + eax*4]
sub edx, dword [0x4194d8]
mov edi, dword [0x4193a8]
sub edx, 0x6734a77
mov dword [edi], edx
add dword [0x4193a8], 4
xor edx, edx
cmp ecx, esi
setne dl
lea ecx, [edx + 2]
add eax, ecx
cmp eax, 0xb1
jb 0x408fb9
mov eax, dword [0x4193a8]
mov edi, esi
xor ecx, ecx
mov edx, dword [ebp + 8]
mov edx, dword [edx + ecx*4]
mov ebx, dword [0x4194d8]
lea edx, [edx + ebx + 0x60685176]
mov dword [eax], edx
xor edx, edx
add eax, 4
cmp edi, esi
setne dl
lea edi, [edx + 2]
add ecx, edi
cmp ecx, 0xf0
jb 0x408ff9
mov edx, dword [ebp + 0xc]
mov edi, edx
shr edi, 1
lea edi, [edi + edx*2]
xor ecx, ecx
mov dword [ebp - 4], esi
test edi, edi
je 0x409066
mov edx, dword [0x419498]
mov edx, dword [edx + ecx*4]
sub edx, dword [0x4194d8]
sub edx, 0x79a904a
mov dword [eax], edx
xor edx, edx
add eax, 4
cmp dword [ebp - 4], esi
setne dl
add edx, 2
add ecx, edx
mov dword [ebp - 4], edx
cmp ecx, edi
jb 0x409038
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ecx, esi
xor eax, eax
mov edx, dword [0x4193a4]
mov edx, dword [edx + eax*4]
mov ebx, dword [0x4194d8]
lea edx, [edx + ebx + 0x2c32f922]
mov dword [edi], edx
xor edx, edx
add edi, 4
cmp ecx, esi
setne dl
lea ecx, [edx + 2]
add eax, ecx
cmp eax, 0xeb
jb 0x409072
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, edi
mov dword [ebp - 4], esi
xor edi, edi
mov eax, dword [0x419430]
mov eax, dword [eax + edi*4]
mov ecx, dword [0x4194d8]
lea eax, [eax + ecx + 0x2aee872e]
mov dword [ebx], eax
add ebx, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
cmp dword [ebp - 4], esi
setne al
add eax, 2
add edi, eax
mov dword [ebp - 4], eax
cmp edi, 0xb9
jb 0x4090ad
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], esi
xor edi, edi
mov eax, dword [0x4194e4]
mov eax, dword [eax + edi*4]
sub eax, dword [0x4194d8]
add eax, 0x43f9de09
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
xor eax, eax
add ebx, 4
cmp dword [ebp - 4], esi
setne al
add eax, 2
add edi, eax
mov dword [ebp - 4], eax
cmp edi, 0xa0
jb 0x4090ed
push str.jsdI1aReT
xor edi, edi
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebp + 0x14]
mov ecx, eax
shr ecx, 1
lea eax, [ecx + eax*2]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x409183
push 0
push 0xe1
push 0
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov eax, dword [0x419428]
mov eax, dword [eax + edi*4]
mov ecx, dword [0x4194d8]
lea eax, [eax + ecx - 0x26d201ee]
mov dword [ebx], eax
xor eax, eax
add ebx, 4
cmp dword [ebp - 4], esi
setne al
add eax, 2
add edi, eax
mov dword [ebp - 4], eax
cmp edi, dword [ebp + 0xc]
jb 0x409145
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop edi
pop esi
pop ebx
leave
ret