Function at 0x10030d4
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 0x100356b
cmp byte [eax], 0
je 0x100356b
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x10031ad
mov eax, ebx
mov cl, byte [eax]
cmp cl, 0x20
je 0x1003128
cmp cl, 9
je 0x1003128
cmp cl, 0xd
je 0x1003128
cmp cl, 0xa
je 0x1003128
cmp cl, 0xb
je 0x1003128
cmp cl, 0xc
jne 0x1003131
push eax
call dword [sym.imp.USER32.dll_CharNextA]
jmp 0x1003108
cmp byte [eax], 0
je 0x10031ad
xor ecx, ecx
xor edx, edx
mov ebx, eax
xor esi, esi
test edx, edx
jne 0x100315e
mov al, byte [ebx]
cmp al, 0x20
je 0x1003199
cmp al, 9
je 0x1003199
cmp al, 0xd
je 0x1003199
cmp al, 0xa
je 0x1003199
cmp al, 0xb
je 0x1003199
cmp al, 0xc
je 0x1003199
jmp 0x1003162
test esi, esi
jne 0x1003199
mov al, byte [ebx]
cmp al, 0x22
jne 0x100318b
lea eax, [ebx + 1]
cmp byte [eax], 0x22
je 0x100317e
test edx, edx
jne 0x1003178
mov edx, edi
jmp 0x100317a
mov esi, edi
mov ebx, eax
jmp 0x1003194
mov byte [ebp + ecx - 0x108], 0x22
inc ecx
inc ebx
inc ebx
jmp 0x1003194
mov byte [ebp + ecx - 0x108], al
inc ecx
inc ebx
cmp byte [ebx], 0
jne 0x100313e
and byte [ebp + ecx - 0x108], 0
test edx, edx
je 0x10031f7
test esi, esi
jne 0x10031fb
and dword [ebp - 4], 0
cmp dword [0x100b88c], 0
je 0x1003566
cmp byte [0x100b99e], 0
jne 0x1003566
push 0x104
mov esi, 0x100b99e
push esi
push dword [0x100b4a4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1003562
push 0x5c
push esi
call fcn.01005c15
and byte [eax + 1], 0
jmp 0x1003566
test esi, esi
jne 0x10031a9
cmp byte [ebp - 0x108], 0x2f
je 0x1003211
cmp byte [ebp - 0x108], 0x2d
jne 0x1003493
movsx eax, byte [ebp - 0x107]
mov esi, dword [sym.imp.USER32.dll_CharUpperA]
push eax
call esi
movsx eax, al
sub eax, 0x3f
je 0x1003545
sub eax, 4
je 0x100349a
dec eax
je 0x10033fb
sub eax, 0xa
je 0x1003385
push 3
pop ecx
sub eax, ecx
je 0x100333b
dec eax
je 0x100326e
dec eax
dec eax
je 0x10033fb
and dword [ebp - 4], 0
cmp byte [ebx], 0
jne 0x10030fc
jmp 0x10031ad
cmp byte [ebp - 0x106], 0
jne 0x1003285
mov dword [0x100b48c], ecx
mov dword [0x100b888], edi
jmp 0x1003260
cmp byte [ebp - 0x106], 0x3a
jne 0x100331c
cmp byte [ebp - 0x105], 0
mov dword [0x100b48c], edi
je 0x1003260
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 0x1003305
sub eax, 3
je 0x10032fc
sub eax, 5
je 0x10032f3
sub eax, 5
je 0x10032ea
dec eax
dec eax
je 0x10032e1
sub eax, 3
je 0x10032d8
and dword [ebp - 4], 0
jmp 0x1003312
or dword [0x100b48c], 4
jmp 0x100330c
or byte [0x100bba8], 0x80
jmp 0x1003312
and dword [0x100b48c], 0xfffffffe
jmp 0x100330c
and dword [0x100b48c], 0xfffffffd
jmp 0x100330c
or dword [0x100bba8], 0x40
jmp 0x1003312
or dword [0x100b48c], 2
mov dword [0x100b888], edi
cmp byte [esi], 0
jne 0x10032a7
jmp 0x1003260
lea eax, [ebp - 0x107]
push eax
push 0x1001358
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1003260
jmp 0x100325c
cmp byte [ebp - 0x106], 0
je 0x100336b
cmp byte [ebp - 0x106], 0x3a
jne 0x100325c
movsx eax, byte [ebp - 0x105]
push eax
call esi
cmp al, 0x31
je 0x100336b
cmp al, 0x41
je 0x1003379
cmp al, 0x55
jne 0x100325c
mov word [0x100b898], 2
jmp 0x1003260
mov word [0x100b898], di
jmp 0x1003260
cmp byte [ebp - 0x106], 0
jne 0x1003399
mov dword [0x100b88c], edi
jmp 0x1003260
cmp byte [ebp - 0x106], 0x3a
jne 0x100325c
cmp byte [ebp - 0x105], 0
je 0x1003260
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 0x10033eb
dec eax
dec eax
je 0x10033e3
sub eax, 0xf
je 0x10033db
and dword [ebp - 4], 0
jmp 0x10033f1
mov dword [0x100b894], edi
jmp 0x10033f1
mov dword [0x100b890], edi
jmp 0x10033f1
mov dword [0x100b88c], edi
cmp byte [esi], 0
jne 0x10033b9
jmp 0x1003260
cmp byte [ebp - 0x106], 0x3a
jne 0x100325c
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 0x100351f
lea eax, [ebp + 8]
push eax
push edi
mov dword [ebp + 8], esi
call fcn.01003058
test eax, eax
je 0x100351f
movsx eax, byte [ebp - 0x107]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
cmp al, 0x54
mov eax, dword [ebp + 8]
jne 0x1003462
add eax, esi
mov esi, 0x100b99e
jmp 0x1003469
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.01005b5f
mov eax, esi
push eax
call fcn.0100288c
test eax, eax
jne 0x1003523
xor eax, eax
jmp 0x100356d
cmp byte [ebp - 0x106], 0
jne 0x10034ae
mov dword [0x100b884], edi
jmp 0x1003260
cmp byte [ebp - 0x106], 0x3a
jne 0x100325c
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 0x100351f
push 0x5b
push edi
call fcn.01005b2d
test eax, eax
je 0x10034f6
push 0x5d
push edi
call fcn.01005b2d
test eax, eax
je 0x100351f
push 0x5d
push edi
call fcn.01005b2d
test eax, eax
je 0x100350e
push 0x5b
push edi
call fcn.01005b2d
test eax, eax
je 0x100351f
lea eax, [ebp + 8]
push eax
push edi
mov dword [ebp + 8], esi
call fcn.01003058
test eax, eax
jne 0x100352b
and dword [ebp - 4], 0
xor edi, edi
inc edi
jmp 0x1003260
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 0x1003523
call fcn.010018d6
mov eax, dword [0x100aa54]
test eax, eax
je 0x100355a
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 0x100356d
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4