Function at 0x3000af7c
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
or dword [ebp - 4], 0xffffffff
push ebx
push esi
xor eax, eax
push edi
push 0xfffffffffffffffe
pop edi
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, eax
push 0x30002534
push ebx
call fcn.3000c256
mov esi, eax
test esi, esi
je 0x3000afbe
add esi, 8
jmp 0x3000b00e
push 0x30002bb8
push ebx
call fcn.3000c256
mov esi, eax
test esi, esi
je 0x3000afd4
add esi, 0x10
jmp 0x3000b00e
cmp word [ebx], 0x22
jne 0x3000affa
push 0x22
lea eax, [ebx + 2]
push eax
call fcn.3000c037
test eax, eax
je 0x3000affa
push 0x20
add eax, 2
push eax
call fcn.3000c037
mov esi, eax
test esi, esi
jne 0x3000b00c
push 0x20
push ebx
call fcn.3000c037
mov esi, eax
test esi, esi
je 0x3000b1f6
inc esi
inc esi
cmp word [esi], 0x22
je 0x3000b00c
jmp 0x3000b018
inc esi
inc esi
cmp word [esi], 0x20
je 0x3000b016
push esi
mov ebx, 0x30002ba0
push ebx
call fcn.3000c14a
test eax, eax
jne 0x3000b04c
push esi
push 0x30002b84
call fcn.3000c14a
test eax, eax
jne 0x3000b04c
push esi
push 0x30002b68
call fcn.3000c14a
test eax, eax
je 0x3000b0c3
push 0x30002b4c
push 1
push 0
call fcn.3000c3ae
test eax, eax
mov dword [ebp - 0xc], eax
je 0x3000b1f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x3000b1e7
push esi
push 0x30002b84
call fcn.3000c14a
test eax, eax
je 0x3000b09e
push 1
push 1
call fcn.3000a20f
mov edi, eax
neg edi
sbb edi, edi
and edi, 2
dec edi
dec edi
jmp 0x3000b1e7
push esi
push ebx
call fcn.3000c14a
test eax, eax
je 0x3000b0ad
push 0
jmp 0x3000b087
push esi
push 0x30002b68
call fcn.3000c14a
test eax, eax
je 0x3000b0c3
call fcn.3000af46
jmp 0x3000b08e
push esi
push 0x30002b44
call fcn.3000c14a
test eax, eax
je 0x3000b116
add esi, 4
movzx eax, word [esi]
cmp ax, 0x30
jb 0x3000b1e7
cmp ax, 0x39
ja 0x3000b1e7
cmp word [esi + 2], 0
jne 0x3000b1e7
and word [ebp - 6], 0
mov word [ebp - 8], ax
push 0xa
lea eax, [ebp - 8]
push eax
call fcn.3000be64
push eax
call fcn.30007c96
jmp 0x3000b08e
push esi
push 0x3000249c
call fcn.3000c14a
xor ebx, ebx
test eax, eax
je 0x3000b130
add esi, 6
inc ebx
mov dword [ebp - 0x1c], ebx
jmp 0x3000b131
inc ebx
push esi
push 0x30002b3c
call fcn.3000c14a
test eax, eax
je 0x3000b146
add esi, 6
mov dword [ebp - 0x18], ebx
push esi
push 0x30002b34
call fcn.3000c14a
test eax, eax
je 0x3000b1a3
add esi, 4
movzx eax, word [esi]
push eax
call fcn.3000bd1e
cmp ax, 0x64
jne 0x3000b173
cmp word [esi + 2], 0x20
jne 0x3000b173
mov dword [ebp - 0x14], ebx
jmp 0x3000b1a0
movzx eax, word [esi]
cmp ax, 0x30
jb 0x3000b1e7
cmp ax, 0x39
ja 0x3000b1e7
cmp word [esi + 2], 0x20
jne 0x3000b1e7
and word [ebp - 0xe], 0
mov word [ebp - 0x10], ax
push 0xa
lea eax, [ebp - 0x10]
push eax
call fcn.3000be64
mov dword [ebp - 4], eax
add esi, 4
cmp word [esi], 0x22
jne 0x3000b214
push esi
call fcn.3000bb8d
mov ebx, eax
cmp word [esi + ebx*2 - 2], 0x22
jne 0x3000b214
add esi, 2
push esi
call fcn.3000c2bf
test eax, eax
mov dword [ebp - 8], eax
jne 0x3000b20c
push 0xfffffffffffffffe
pop edi
mov esi, dword [ebp - 0x20]
cmp dword [ebp - 8], 0
je 0x3000b1dd
push dword [ebp - 8]
call fcn.30003d92
test esi, esi
je 0x3000b1e7
push esi
call fcn.30003dee
cmp dword [ebp - 0xc], 0
je 0x3000b1f6
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call fcn.300035c4
test eax, eax
je 0x3000b205
call dword [sym.imp.ole32.dll_CoUninitialize]
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
and word [eax + ebx*2 - 4], 0
mov esi, eax
xor ebx, ebx
cmp word [esi], bx
je 0x3000b1cc
push ebx
push esi
call fcn.3000687f
mov esi, eax
cmp esi, ebx
jne 0x3000b22d
push 0xfffffffffffffffe
pop edi
jmp 0x3000b1cf
cmp dword [ebp - 4], 0xffffffff
jne 0x3000b243
cmp dword [ebp - 0x14], ebx
jne 0x3000b243
push esi
call fcn.3000b960
mov dword [ebp - 4], eax
jmp 0x3000b249
push esi
call fcn.3000b960
cmp dword [ebp - 0x18], ebx
jne 0x3000b26b
cmp dword [ebp - 4], 0xfffffffe
je 0x3000b26b
xor eax, eax
cmp dword [ebp - 0x1c], ebx
setne al
push eax
push esi
push dword [ebp - 4]
call fcn.3000a95b
jmp 0x3000b1cf
mov edi, dword [ebp - 4]
jmp 0x3000b1cf