Function at 0x10030a7
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 0x100353e
cmp byte [eax], 0
je 0x100353e
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x1003180
mov eax, ebx
mov cl, byte [eax]
cmp cl, 0x20
je 0x10030fb
cmp cl, 9
je 0x10030fb
cmp cl, 0xd
je 0x10030fb
cmp cl, 0xa
je 0x10030fb
cmp cl, 0xb
je 0x10030fb
cmp cl, 0xc
jne 0x1003104
push eax
call dword [sym.imp.USER32.dll_CharNextA]
jmp 0x10030db
cmp byte [eax], 0
je 0x1003180
xor ecx, ecx
xor edx, edx
mov ebx, eax
xor esi, esi
test edx, edx
jne 0x1003131
mov al, byte [ebx]
cmp al, 0x20
je 0x100316c
cmp al, 9
je 0x100316c
cmp al, 0xd
je 0x100316c
cmp al, 0xa
je 0x100316c
cmp al, 0xb
je 0x100316c
cmp al, 0xc
je 0x100316c
jmp 0x1003135
test esi, esi
jne 0x100316c
mov al, byte [ebx]
cmp al, 0x22
jne 0x100315e
lea eax, [ebx + 1]
cmp byte [eax], 0x22
je 0x1003151
test edx, edx
jne 0x100314b
mov edx, edi
jmp 0x100314d
mov esi, edi
mov ebx, eax
jmp 0x1003167
mov byte [ebp + ecx - 0x108], 0x22
inc ecx
inc ebx
inc ebx
jmp 0x1003167
mov byte [ebp + ecx - 0x108], al
inc ecx
inc ebx
cmp byte [ebx], 0
jne 0x1003111
and byte [ebp + ecx - 0x108], 0
test edx, edx
je 0x10031ca
test esi, esi
jne 0x10031ce
and dword [ebp - 4], 0
cmp dword [0x100b88c], 0
je 0x1003539
cmp byte [0x100b99e], 0
jne 0x1003539
push 0x104
mov esi, 0x100b99e
push esi
push dword [0x100b4a4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1003535
push 0x5c
push esi
call fcn.01005be8
and byte [eax + 1], 0
jmp 0x1003539
test esi, esi
jne 0x100317c
cmp byte [ebp - 0x108], 0x2f
je 0x10031e4
cmp byte [ebp - 0x108], 0x2d
jne 0x1003466
movsx eax, byte [ebp - 0x107]
mov esi, dword [sym.imp.USER32.dll_CharUpperA]
push eax
call esi
movsx eax, al
sub eax, 0x3f
je 0x1003518
sub eax, 4
je 0x100346d
dec eax
je 0x10033ce
sub eax, 0xa
je 0x1003358
push 3
pop ecx
sub eax, ecx
je 0x100330e
dec eax
je 0x1003241
dec eax
dec eax
je 0x10033ce
and dword [ebp - 4], 0
cmp byte [ebx], 0
jne 0x10030cf
jmp 0x1003180
cmp byte [ebp - 0x106], 0
jne 0x1003258
mov dword [0x100b48c], ecx
mov dword [0x100b888], edi
jmp 0x1003233
cmp byte [ebp - 0x106], 0x3a
jne 0x10032ef
cmp byte [ebp - 0x105], 0
mov dword [0x100b48c], edi
je 0x1003233
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 0x10032d8
sub eax, 3
je 0x10032cf
sub eax, 5
je 0x10032c6
sub eax, 5
je 0x10032bd
dec eax
dec eax
je 0x10032b4
sub eax, 3
je 0x10032ab
and dword [ebp - 4], 0
jmp 0x10032e5
or dword [0x100b48c], 4
jmp 0x10032df
or byte [0x100bba8], 0x80
jmp 0x10032e5
and dword [0x100b48c], 0xfffffffe
jmp 0x10032df
and dword [0x100b48c], 0xfffffffd
jmp 0x10032df
or dword [0x100bba8], 0x40
jmp 0x10032e5
or dword [0x100b48c], 2
mov dword [0x100b888], edi
cmp byte [esi], 0
jne 0x100327a
jmp 0x1003233
lea eax, [ebp - 0x107]
push eax
push 0x1001354
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1003233
jmp 0x100322f
cmp byte [ebp - 0x106], 0
je 0x100333e
cmp byte [ebp - 0x106], 0x3a
jne 0x100322f
movsx eax, byte [ebp - 0x105]
push eax
call esi
cmp al, 0x31
je 0x100333e
cmp al, 0x41
je 0x100334c
cmp al, 0x55
jne 0x100322f
mov word [0x100b898], 2
jmp 0x1003233
mov word [0x100b898], di
jmp 0x1003233
cmp byte [ebp - 0x106], 0
jne 0x100336c
mov dword [0x100b88c], edi
jmp 0x1003233
cmp byte [ebp - 0x106], 0x3a
jne 0x100322f
cmp byte [ebp - 0x105], 0
je 0x1003233
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 0x10033be
dec eax
dec eax
je 0x10033b6
sub eax, 0xf
je 0x10033ae
and dword [ebp - 4], 0
jmp 0x10033c4
mov dword [0x100b894], edi
jmp 0x10033c4
mov dword [0x100b890], edi
jmp 0x10033c4
mov dword [0x100b88c], edi
cmp byte [esi], 0
jne 0x100338c
jmp 0x1003233
cmp byte [ebp - 0x106], 0x3a
jne 0x100322f
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 0x10034f2
lea eax, [ebp + 8]
push eax
push edi
mov dword [ebp + 8], esi
call fcn.0100302b
test eax, eax
je 0x10034f2
movsx eax, byte [ebp - 0x107]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
cmp al, 0x54
mov eax, dword [ebp + 8]
jne 0x1003435
add eax, esi
mov esi, 0x100b99e
jmp 0x100343c
add eax, esi
mov esi, 0x100b89a
lea eax, [ebp + eax - 0x108]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x1001251
push esi
call fcn.01005b32
mov eax, esi
push eax
call fcn.0100285f
test eax, eax
jne 0x10034f6
xor eax, eax
jmp 0x1003540
cmp byte [ebp - 0x106], 0
jne 0x1003481
mov dword [0x100b884], edi
jmp 0x1003233
cmp byte [ebp - 0x106], 0x3a
jne 0x100322f
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 0x10034f2
push 0x5b
push edi
call fcn.01005b00
test eax, eax
je 0x10034c9
push 0x5d
push edi
call fcn.01005b00
test eax, eax
je 0x10034f2
push 0x5d
push edi
call fcn.01005b00
test eax, eax
je 0x10034e1
push 0x5b
push edi
call fcn.01005b00
test eax, eax
je 0x10034f2
lea eax, [ebp + 8]
push eax
push edi
mov dword [ebp + 8], esi
call fcn.0100302b
test eax, eax
jne 0x10034fe
and dword [ebp - 4], 0
xor edi, edi
inc edi
jmp 0x1003233
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 0x10034f6
call fcn.0100189e
mov eax, dword [0x100aa54]
test eax, eax
je 0x100352d
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 0x1003540
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4