Function at 0x6d5d4a
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x6d8004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
lea ebx, [edi + 1]
mov dword [ebp - 0x10c], ebx
test ecx, ecx
je 0x6d62b1
cmp byte [ecx], 0
je 0x6d62b1
test ebx, ebx
je 0x6d5e89
mov al, byte [ecx]
cmp al, 0x20
je 0x6d5da0
cmp al, 9
je 0x6d5da0
cmp al, 0xd
je 0x6d5da0
cmp al, 0xa
je 0x6d5da0
cmp al, 0xb
je 0x6d5da0
cmp al, 0xc
jne 0x6d5dab
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
jmp 0x6d5d86
cmp byte [ecx], 0
mov dword [ebp - 0x110], ecx
je 0x6d5e89
xor ecx, ecx
xor esi, esi
xor edi, edi
xor eax, eax
lea edx, [eax + 1]
mov eax, dword [ebp - 0x110]
test esi, esi
jne 0x6d5dfd
mov al, byte [eax]
cmp al, 0x20
je 0x6d5e6b
cmp al, 9
je 0x6d5e6b
cmp al, 0xd
je 0x6d5e6b
cmp al, 0xa
je 0x6d5e6b
cmp al, 0xb
je 0x6d5e6b
cmp al, 0xc
je 0x6d5e6b
mov eax, dword [ebp - 0x110]
jmp 0x6d5e01
test edi, edi
jne 0x6d5e6b
mov al, byte [eax]
cmp al, 0x22
jne 0x6d5e40
mov eax, dword [ebp - 0x110]
inc eax
cmp byte [eax], 0x22
je 0x6d5e1f
test esi, esi
jne 0x6d5e1a
inc esi
jmp 0x6d5e5c
xor edi, edi
inc edi
jmp 0x6d5e5c
cmp edx, 0x104
jae 0x6d61a6
mov eax, dword [ebp - 0x110]
mov byte [ebp + ecx - 0x108], 0x22
inc ecx
inc edx
add eax, 2
jmp 0x6d5e5c
cmp edx, 0x104
jae 0x6d61a6
mov byte [ebp + ecx - 0x108], al
inc ecx
mov eax, dword [ebp - 0x110]
inc edx
inc eax
cmp byte [eax], 0
mov dword [ebp - 0x110], eax
jne 0x6d5dcb
cmp ecx, 0x104
jae 0x6d62c5
mov byte [ebp + ecx - 0x108], 0
test esi, esi
je 0x6d5ed7
test edi, edi
jne 0x6d5edb
xor ebx, ebx
cmp dword [0x6d8a2c], 0
je 0x6d62ad
cmp byte [0x6d8b3e], 0
jne 0x6d62ad
push 0x104
push 0x6d8b3e
push dword [0x6d9a3c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x6d62ab
push 0x5c
pop edx
mov ecx, 0x6d8b3e
call fcn.006d67af
mov byte [eax + 1], 0
jmp 0x6d62ad
test edi, edi
jne 0x6d5e87
mov al, byte [ebp - 0x108]
cmp al, 0x2f
je 0x6d5eed
cmp al, 0x2d
jne 0x6d61a6
movsx eax, byte [ebp - 0x107]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, al
sub eax, 0x3f
je 0x6d627d
sub eax, 4
je 0x6d61ad
sub eax, 1
je 0x6d60fb
sub eax, 0xa
je 0x6d6080
sub eax, 3
je 0x6d603c
sub eax, 1
je 0x6d5f57
push 2
pop ecx
sub eax, ecx
je 0x6d60fb
xor ebx, ebx
mov dword [ebp - 0x10c], ebx
mov ecx, dword [ebp - 0x110]
cmp byte [ecx], 0
jne 0x6d5d7e
jmp 0x6d5e89
mov al, byte [ebp - 0x106]
test al, al
jne 0x6d5f75
xor eax, eax
mov dword [0x6d9a2c], 3
inc eax
mov dword [0x6d8a28], eax
jmp 0x6d5f43
cmp al, 0x3a
jne 0x6d6010
xor edi, edi
inc edi
cmp byte [ebp - 0x105], 0
mov dword [0x6d9a2c], edi
je 0x6d5f43
lea esi, [ebp - 0x105]
movsx eax, byte [esi]
inc esi
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, al
sub eax, 0x41
je 0x6d5ff7
sub eax, 3
je 0x6d5fee
sub eax, 5
je 0x6d5fe5
sub eax, 5
je 0x6d5fdc
push 2
pop ecx
sub eax, ecx
je 0x6d5fd0
sub eax, 3
je 0x6d5fc7
xor ebx, ebx
jmp 0x6d6006
or dword [0x6d9a2c], 4
jmp 0x6d6000
or dword [0x6d8d48], 0x80
jmp 0x6d6006
and dword [0x6d9a2c], 0xfffffffe
jmp 0x6d6000
and dword [0x6d9a2c], 0xfffffffd
jmp 0x6d6000
or dword [0x6d8d48], 0x40
jmp 0x6d6006
push 2
pop eax
or dword [0x6d9a2c], eax
mov dword [0x6d8a28], edi
cmp byte [esi], 0
jne 0x6d5f95
jmp 0x6d5f3d
push 0xffffffffffffffff
lea eax, [ebp - 0x107]
push eax
push 0xffffffffffffffff
xor eax, eax
push 0x6d13a8
inc eax
push eax
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringA]
push 2
pop ecx
sub eax, ecx
je 0x6d5f43
jmp 0x6d5f3b
mov al, byte [ebp - 0x106]
test al, al
jne 0x6d6054
push 2
pop eax
mov word [0x6d8a38], ax
jmp 0x6d5f43
cmp al, 0x3a
jne 0x6d5f3b
movsx eax, byte [ebp - 0x105]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
cmp al, 0x31
je 0x6d6046
cmp al, 0x41
je 0x6d607b
cmp al, 0x55
je 0x6d6046
jmp 0x6d5f3b
xor eax, eax
inc eax
jmp 0x6d6049
mov al, byte [ebp - 0x106]
test al, al
jne 0x6d6097
xor eax, eax
inc eax
mov dword [0x6d8a2c], eax
jmp 0x6d5f43
cmp al, 0x3a
jne 0x6d5f3b
cmp byte [ebp - 0x105], 0
je 0x6d5f43
lea esi, [ebp - 0x105]
movsx eax, byte [esi]
inc esi
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, al
sub eax, 0x45
je 0x6d60e9
push 2
pop ecx
sub eax, ecx
je 0x6d60df
sub eax, 0xf
je 0x6d60d5
xor ebx, ebx
jmp 0x6d60f1
xor eax, eax
inc eax
mov dword [0x6d8a34], eax
jmp 0x6d60f1
xor eax, eax
inc eax
mov dword [0x6d8a30], eax
jmp 0x6d60f1
xor eax, eax
inc eax
mov dword [0x6d8a2c], eax
cmp byte [esi], 0
jne 0x6d60b2
jmp 0x6d5f3d
xor ebx, ebx
cmp byte [ebp - 0x106], 0x3a
jne 0x6d5f3d
cmp byte [ebp - 0x105], 0x22
lea esi, [ebp - 0x108]
sete bl
add ebx, 3
add esi, ebx
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6d6124
sub ecx, edx
je 0x6d5f3b
lea edx, [ebp - 0x114]
mov dword [ebp - 0x114], ebx
mov ecx, esi
call fcn.006d5cbe
test eax, eax
je 0x6d5f3b
movsx eax, byte [ebp - 0x107]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
cmp al, 0x54
lea ecx, [ebp - 0x108]
mov eax, dword [ebp - 0x114]
mov esi, 0x6d8b3e
je 0x6d6176
mov esi, 0x6d8a3a
add eax, ebx
mov ebx, 0x104
add eax, ecx
mov edx, ebx
push eax
mov ecx, esi
call fcn.006d1645
push 0x6d1120
mov edx, ebx
mov ecx, esi
call fcn.006d6659
mov ecx, esi
call fcn.006d3225
test eax, eax
jne 0x6d6272
xor eax, eax
jmp 0x6d62b4
mov al, byte [ebp - 0x106]
test al, al
jne 0x6d61c4
xor eax, eax
inc eax
mov dword [0x6d8a24], eax
jmp 0x6d5f43
cmp al, 0x3a
jne 0x6d5f3b
xor ebx, ebx
lea esi, [ebp - 0x108]
cmp byte [ebp - 0x105], 0x22
sete bl
add ebx, 3
add esi, ebx
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6d61e8
sub ecx, edx
je 0x6d5f3b
push 0x5b
pop edx
mov ecx, esi
call fcn.006d675c
test eax, eax
je 0x6d6217
push 0x5d
pop edx
mov ecx, esi
call fcn.006d675c
test eax, eax
je 0x6d5f3b
push 0x5d
pop edx
mov ecx, esi
call fcn.006d675c
test eax, eax
je 0x6d6237
push 0x5b
pop edx
mov ecx, esi
call fcn.006d675c
test eax, eax
je 0x6d5f3b
lea edx, [ebp - 0x114]
mov dword [ebp - 0x114], ebx
mov ecx, esi
call fcn.006d5cbe
test eax, eax
je 0x6d5f3b
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x108]
add eax, ebx
mov edx, 0x104
add eax, ecx
mov ecx, 0x6d8c42
push eax
call fcn.006d1645
mov ebx, dword [ebp - 0x10c]
jmp 0x6d5f43
xor ebx, ebx
mov edx, 0x521
push ebx
push 0x40
push ebx
push 0x6d1120
xor ecx, ecx
call fcn.006d44d8
mov eax, dword [0x6d8588]
test eax, eax
je 0x6d62a4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor ebx, ebx
mov eax, ebx
jmp 0x6d62b4
lea eax, [edi + 1]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006d6e20
mov esp, ebp
pop ebp
ret
call fcn.006d6f79
int3