Function at 0x10030c5
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
inc edi
test eax, eax
mov dword [ebp - 4], edi
je 0x100355c
cmp byte [eax], 0
je 0x100355c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x100319e
mov eax, ebx
mov cl, byte [eax]
cmp cl, 0x20
je 0x1003119
cmp cl, 9
je 0x1003119
cmp cl, 0xd
je 0x1003119
cmp cl, 0xa
je 0x1003119
cmp cl, 0xb
je 0x1003119
cmp cl, 0xc
jne 0x1003122
push eax
call dword [sym.imp.USER32.dll_CharNextA]
jmp 0x10030f9
cmp byte [eax], 0
je 0x100319e
xor ecx, ecx
xor edx, edx
mov ebx, eax
xor esi, esi
test edx, edx
jne 0x100314f
mov al, byte [ebx]
cmp al, 0x20
je 0x100318a
cmp al, 9
je 0x100318a
cmp al, 0xd
je 0x100318a
cmp al, 0xa
je 0x100318a
cmp al, 0xb
je 0x100318a
cmp al, 0xc
je 0x100318a
jmp 0x1003153
test esi, esi
jne 0x100318a
mov al, byte [ebx]
cmp al, 0x22
jne 0x100317c
lea eax, [ebx + 1]
cmp byte [eax], 0x22
je 0x100316f
test edx, edx
jne 0x1003169
mov edx, edi
jmp 0x100316b
mov esi, edi
mov ebx, eax
jmp 0x1003185
mov byte [ebp + ecx - 0x108], 0x22
inc ecx
inc ebx
inc ebx
jmp 0x1003185
mov byte [ebp + ecx - 0x108], al
inc ecx
inc ebx
cmp byte [ebx], 0
jne 0x100312f
and byte [ebp + ecx - 0x108], 0
test edx, edx
je 0x10031e8
test esi, esi
jne 0x10031ec
and dword [ebp - 4], 0
cmp dword [0x100b88c], 0
je 0x1003557
cmp byte [0x100b99e], 0
jne 0x1003557
push 0x104
mov esi, 0x100b99e
push esi
push dword [0x100b4a4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1003553
push 0x5c
push esi
call fcn.01005c06
and byte [eax + 1], 0
jmp 0x1003557
test esi, esi
jne 0x100319a
cmp byte [ebp - 0x108], 0x2f
je 0x1003202
cmp byte [ebp - 0x108], 0x2d
jne 0x1003484
movsx eax, byte [ebp - 0x107]
mov esi, dword [sym.imp.USER32.dll_CharUpperA]
push eax
call esi
movsx eax, al
sub eax, 0x3f
je 0x1003536
sub eax, 4
je 0x100348b
dec eax
je 0x10033ec
sub eax, 0xa
je 0x1003376
push 3
pop ecx
sub eax, ecx
je 0x100332c
dec eax
je 0x100325f
dec eax
dec eax
je 0x10033ec
and dword [ebp - 4], 0
cmp byte [ebx], 0
jne 0x10030ed
jmp 0x100319e
cmp byte [ebp - 0x106], 0
jne 0x1003276
mov dword [0x100b48c], ecx
mov dword [0x100b888], edi
jmp 0x1003251
cmp byte [ebp - 0x106], 0x3a
jne 0x100330d
cmp byte [ebp - 0x105], 0
mov dword [0x100b48c], edi
je 0x1003251
lea esi, [ebp - 0x105]
movsx eax, byte [esi]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, al
inc esi
sub eax, 0x41
je 0x10032f6
sub eax, 3
je 0x10032ed
sub eax, 5
je 0x10032e4
sub eax, 5
je 0x10032db
dec eax
dec eax
je 0x10032d2
sub eax, 3
je 0x10032c9
and dword [ebp - 4], 0
jmp 0x1003303
or dword [0x100b48c], 4
jmp 0x10032fd
or byte [0x100bba8], 0x80
jmp 0x1003303
and dword [0x100b48c], 0xfffffffe
jmp 0x10032fd
and dword [0x100b48c], 0xfffffffd
jmp 0x10032fd
or dword [0x100bba8], 0x40
jmp 0x1003303
or dword [0x100b48c], 2
mov dword [0x100b888], edi
cmp byte [esi], 0
jne 0x1003298
jmp 0x1003251
lea eax, [ebp - 0x107]
push eax
push 0x1001358
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1003251
jmp 0x100324d
cmp byte [ebp - 0x106], 0
je 0x100335c
cmp byte [ebp - 0x106], 0x3a
jne 0x100324d
movsx eax, byte [ebp - 0x105]
push eax
call esi
cmp al, 0x31
je 0x100335c
cmp al, 0x41
je 0x100336a
cmp al, 0x55
jne 0x100324d
mov word [0x100b898], 2
jmp 0x1003251
mov word [0x100b898], di
jmp 0x1003251
cmp byte [ebp - 0x106], 0
jne 0x100338a
mov dword [0x100b88c], edi
jmp 0x1003251
cmp byte [ebp - 0x106], 0x3a
jne 0x100324d
cmp byte [ebp - 0x105], 0
je 0x1003251
lea esi, [ebp - 0x105]
movsx eax, byte [esi]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, al
inc esi
sub eax, 0x45
je 0x10033dc
dec eax
dec eax
je 0x10033d4
sub eax, 0xf
je 0x10033cc
and dword [ebp - 4], 0
jmp 0x10033e2
mov dword [0x100b894], edi
jmp 0x10033e2
mov dword [0x100b890], edi
jmp 0x10033e2
mov dword [0x100b88c], edi
cmp byte [esi], 0
jne 0x10033aa
jmp 0x1003251
cmp byte [ebp - 0x106], 0x3a
jne 0x100324d
xor eax, eax
cmp byte [ebp - 0x105], 0x22
sete al
add eax, 3
mov esi, eax
lea edi, [ebp + esi - 0x108]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x1003510
lea eax, [ebp + 8]
push eax
push edi
mov dword [ebp + 8], esi
call fcn.01003049
test eax, eax
je 0x1003510
movsx eax, byte [ebp - 0x107]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
cmp al, 0x54
mov eax, dword [ebp + 8]
jne 0x1003453
add eax, esi
mov esi, 0x100b99e
jmp 0x100345a
add eax, esi
mov esi, 0x100b89a
lea eax, [ebp + eax - 0x108]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x1001254
push esi
call fcn.01005b50
mov eax, esi
push eax
call fcn.0100288c
test eax, eax
jne 0x1003514
xor eax, eax
jmp 0x100355e
cmp byte [ebp - 0x106], 0
jne 0x100349f
mov dword [0x100b884], edi
jmp 0x1003251
cmp byte [ebp - 0x106], 0x3a
jne 0x100324d
xor eax, eax
cmp byte [ebp - 0x105], 0x22
sete al
add eax, 3
mov esi, eax
lea edi, [ebp + esi - 0x108]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x1003510
push 0x5b
push edi
call fcn.01005b1e
test eax, eax
je 0x10034e7
push 0x5d
push edi
call fcn.01005b1e
test eax, eax
je 0x1003510
push 0x5d
push edi
call fcn.01005b1e
test eax, eax
je 0x10034ff
push 0x5b
push edi
call fcn.01005b1e
test eax, eax
je 0x1003510
lea eax, [ebp + 8]
push eax
push edi
mov dword [ebp + 8], esi
call fcn.01003049
test eax, eax
jne 0x100351c
and dword [ebp - 4], 0
xor edi, edi
inc edi
jmp 0x1003251
mov eax, dword [ebp + 8]
add eax, esi
lea eax, [ebp + eax - 0x108]
push eax
push 0x100baa2
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x1003514
call fcn.010018d6
mov eax, dword [0x100aa54]
test eax, eax
je 0x100354b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x100355e
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4