Function at 0x1003060f
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x100610cc
call fcn.1005fb28
sub esp, 0x3c
mov byte [ebp - 0x10], dl
push ebx
test dl, dl
je 0x100307f4
cmp byte [ecx], 0
je 0x10030807
mov dword [ebp - 0x18], 0x205a
cmp dword [ebp - 0x18], 0xe83
jge 0x100307ec
lea eax, [ebp - 0x1c]
push eax
push 0x1006d14c
call fcn.100472fb
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
test eax, eax
je 0x100307ec
xor ebx, ebx
push esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
push edi
dec eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
push 0x1006d14c
call fcn.100472fb
pop ecx
pop ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x48]
call fcn.10013a6e
mov dword [ebp - 4], ebx
mov edi, ebx
mov eax, dword [ebp - 0x14]
test eax, eax
jle 0x100306b0
mov esi, dword [ebp - 0x48]
push esi
push 0x1006d14c
call fcn.100472fb
mov eax, dword [ebp - 0x14]
inc edi
pop ecx
add esi, 4
pop ecx
cmp edi, eax
jl 0x10030698
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], ebx
push ecx
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call fcn.10032978
mov byte [ebp - 4], 1
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call fcn.10032978
mov ecx, dword [ebp - 0x14]
mov edx, ebx
test ecx, ecx
jle 0x10030715
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x30]
sub esi, eax
test edx, edx
je 0x100306fc
cmp dword [eax - 4], ebx
je 0x10030706
cmp dword [esi + eax], edx
jl 0x10030706
xor ecx, ecx
inc ecx
jmp 0x10030708
mov ecx, ebx
mov dword [eax], ecx
inc edx
mov ecx, dword [ebp - 0x14]
add eax, 4
cmp edx, ecx
jl 0x100306f3
mov edi, dword [ebp - 0x3c]
lea edx, [ecx - 1]
test edx, edx
js 0x10030752
mov eax, dword [ebp - 0x48]
lea esi, [edi + edx*4]
sub eax, edi
mov edi, eax
lea eax, [ecx - 1]
cmp edx, eax
je 0x10030735
cmp dword [esi + 4], ebx
je 0x10030742
sub ecx, edx
dec ecx
cmp dword [edi + esi], ecx
jl 0x10030742
xor eax, eax
inc eax
jmp 0x10030744
mov eax, ebx
mov dword [esi], eax
sub esi, 4
dec edx
mov ecx, dword [ebp - 0x14]
jns 0x10030729
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x18], ebx
mov dl, bl
test ecx, ecx
jle 0x10030781
mov esi, dword [ebp - 0x30]
mov eax, edi
sub esi, edi
test dl, dl
jne 0x10030781
cmp dword [esi + eax], ebx
je 0x10030774
cmp dword [eax], ebx
je 0x10030774
xor edx, edx
inc edx
jmp 0x10030776
mov edx, ebx
inc dword [ebp - 0x18]
add eax, 4
cmp dword [ebp - 0x18], ecx
jl 0x10030762
test dl, dl
mov ecx, 0x1006d200
mov eax, 0x1006d1fc
cmove eax, ecx
push eax
call fcn.100478db
pop ecx
test edi, edi
je 0x100307ab
push edi
call fcn.10047697
pop ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x30], 0
je 0x100307c3
push dword [ebp - 0x30]
call fcn.10047697
pop ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x48], 0
je 0x100307df
push dword [ebp - 0x48]
call fcn.10047697
pop ecx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1003066a
pop edi
pop esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x10030807
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x10030807
xor ebx, ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret