Function at 0x405ea6
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x408004]
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 0x406418
cmp byte [ecx], 0
je 0x406418
test ebx, ebx
je 0x405fe1
mov al, byte [ecx]
cmp al, 0x20
je 0x405efc
cmp al, 9
je 0x405efc
cmp al, 0xd
je 0x405efc
cmp al, 0xa
je 0x405efc
cmp al, 0xb
je 0x405efc
cmp al, 0xc
jne 0x405f07
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
jmp 0x405ee2
mov dword [ebp - 0x110], ecx
test al, al
je 0x405fe1
mov eax, dword [ebp - 0x110]
xor edx, edx
xor ecx, ecx
xor edi, edi
xor esi, esi
inc edx
test edi, edi
jne 0x405f56
mov al, byte [eax]
cmp al, 0x20
je 0x405fc3
cmp al, 9
je 0x405fc3
cmp al, 0xd
je 0x405fc3
cmp al, 0xa
je 0x405fc3
cmp al, 0xb
je 0x405fc3
cmp al, 0xc
je 0x405fc3
mov eax, dword [ebp - 0x110]
jmp 0x405f5a
test esi, esi
jne 0x405fc3
mov al, byte [eax]
cmp al, 0x22
jne 0x405f96
mov eax, dword [ebp - 0x110]
cmp byte [eax + 1], 0x22
je 0x405f7b
xor eax, eax
inc eax
test edi, edi
jne 0x405f77
mov edi, eax
jmp 0x405fae
mov esi, eax
jmp 0x405fae
cmp edx, 0x104
jae 0x406318
mov byte [ebp + ecx - 0x108], 0x22
inc ecx
push 2
inc edx
pop eax
jmp 0x405fae
cmp edx, 0x104
jae 0x406318
mov byte [ebp + ecx - 0x108], al
inc ecx
xor eax, eax
inc edx
inc eax
add dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
cmp byte [eax], 0
jne 0x405f24
cmp ecx, 0x104
jae 0x40642a
mov byte [ebp + ecx - 0x108], 0
test edi, edi
je 0x40602f
test esi, esi
jne 0x406033
xor ebx, ebx
cmp dword [0x408a2c], 0
je 0x406414
cmp byte [0x408b3e], 0
jne 0x406414
push 0x104
push 0x408b3e
push dword [0x409a3c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x406412
push 0x5c
pop edx
mov ecx, 0x408b3e
call fcn.00406920
mov byte [eax + 1], 0
jmp 0x406414
test esi, esi
jne 0x405fdf
mov al, byte [ebp - 0x108]
cmp al, 0x2f
je 0x406045
cmp al, 0x2d
jne 0x406318
movsx eax, byte [ebp - 0x107]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, al
sub eax, 0x3f
je 0x4063f5
sub eax, 4
je 0x40631f
sub eax, 1
je 0x406264
sub eax, 0xa
je 0x4061e1
sub eax, 3
je 0x406199
sub eax, 1
je 0x4060ae
dec eax
sub eax, 1
je 0x406264
xor ebx, ebx
mov dword [ebp - 0x10c], ebx
mov ecx, dword [ebp - 0x110]
cmp byte [ecx], 0
jne 0x405eda
jmp 0x405fe1
cmp byte [ebp - 0x106], 0
jne 0x4060cb
xor eax, eax
mov dword [0x409a2c], 3
inc eax
mov dword [0x408a28], eax
jmp 0x40609a
cmp byte [ebp - 0x106], 0x3a
jne 0x40616e
mov ecx, dword [ebp - 0x105]
xor edi, edi
inc edi
mov dword [0x409a2c], edi
test cl, cl
je 0x40609a
lea esi, [ebp - 0x105]
movsx eax, cl
inc esi
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, al
sub eax, 0x41
je 0x406152
sub eax, 3
je 0x406149
sub eax, 5
je 0x406140
sub eax, 5
je 0x406137
dec eax
sub eax, 1
je 0x40612b
sub eax, 3
je 0x406122
xor ebx, ebx
jmp 0x406161
or dword [0x409a2c], 4
jmp 0x40615b
or dword [0x408d48], 0x80
jmp 0x406161
and dword [0x409a2c], 0xfffffffe
jmp 0x40615b
and dword [0x409a2c], 0xfffffffd
jmp 0x40615b
or dword [0x408d48], 0x40
jmp 0x406161
push 2
pop eax
or dword [0x409a2c], eax
mov dword [0x408a28], edi
mov al, byte [esi]
mov cl, al
test al, al
jne 0x4060f1
jmp 0x406094
push 0xffffffffffffffff
lea eax, [ebp - 0x107]
push eax
push 0xffffffffffffffff
xor eax, eax
push 0x4013d8
inc eax
push eax
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringA]
dec eax
sub eax, 1
je 0x40609a
jmp 0x406092
cmp byte [ebp - 0x106], 0
jne 0x4061a7
push 2
pop eax
jmp 0x4061d6
cmp byte [ebp - 0x106], 0x3a
jne 0x406092
movsx eax, byte [ebp - 0x105]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
cmp al, 0x31
je 0x4061a2
cmp al, 0x41
je 0x4061d3
cmp al, 0x55
je 0x4061a2
jmp 0x406092
xor eax, eax
inc eax
mov word [0x408a38], ax
jmp 0x40609a
cmp byte [ebp - 0x106], 0
jne 0x4061f7
xor eax, eax
inc eax
mov dword [0x408a2c], eax
jmp 0x40609a
cmp byte [ebp - 0x106], 0x3a
jne 0x406092
mov ecx, dword [ebp - 0x105]
test cl, cl
je 0x40609a
lea esi, [ebp - 0x105]
movsx eax, cl
inc esi
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, al
sub eax, 0x45
je 0x40624f
push 2
pop ecx
sub eax, ecx
je 0x406245
sub eax, 0xf
je 0x40623b
xor ebx, ebx
jmp 0x406257
xor eax, eax
inc eax
mov dword [0x408a34], eax
jmp 0x406257
xor eax, eax
inc eax
mov dword [0x408a30], eax
jmp 0x406257
xor eax, eax
inc eax
mov dword [0x408a2c], eax
mov al, byte [esi]
mov cl, al
test al, al
jne 0x406218
jmp 0x406094
xor ebx, ebx
cmp byte [ebp - 0x106], 0x3a
jne 0x406094
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 0x40628d
sub ecx, edx
je 0x406092
lea edx, [ebp - 0x114]
mov dword [ebp - 0x114], ebx
mov ecx, esi
call fcn.00405e1e
test eax, eax
je 0x406092
movsx eax, byte [ebp - 0x107]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
cmp al, 0x54
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 0x114]
push ecx
jne 0x4062df
add eax, ebx
mov ebx, 0x408b3e
jmp 0x4062e6
add eax, ebx
mov ebx, 0x408a3a
add eax, edx
mov edx, 0x104
push eax
push ecx
mov ecx, ebx
call fcn.00401823
mov esi, ebx
mov edx, 0x104
push 0x401150
mov ecx, esi
call fcn.004067c6
mov ecx, esi
call fcn.00403376
test eax, eax
jne 0x4063ea
xor eax, eax
jmp 0x40641b
cmp byte [ebp - 0x106], 0
jne 0x406335
xor eax, eax
inc eax
mov dword [0x408a24], eax
jmp 0x40609a
cmp byte [ebp - 0x106], 0x3a
jne 0x406092
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 0x40635e
sub ecx, edx
je 0x406092
push 0x5b
pop edx
mov ecx, esi
call fcn.004068cb
test eax, eax
je 0x40638d
push 0x5d
pop edx
mov ecx, esi
call fcn.004068cb
test eax, eax
je 0x406092
push 0x5d
pop edx
mov ecx, esi
call fcn.004068cb
test eax, eax
je 0x4063ad
push 0x5b
pop edx
mov ecx, esi
call fcn.004068cb
test eax, eax
je 0x406092
lea edx, [ebp - 0x114]
mov dword [ebp - 0x114], ebx
mov ecx, esi
call fcn.00405e1e
test eax, eax
je 0x406092
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x108]
push ecx
add eax, ebx
add eax, edx
mov edx, 0x104
push eax
push ecx
mov ecx, 0x408c42
call fcn.00401823
mov ebx, dword [ebp - 0x10c]
jmp 0x40609a
call fcn.00401f66
mov eax, dword [0x408588]
test eax, eax
je 0x40640a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor ebx, ebx
mov eax, ebx
jmp 0x40641b
lea eax, [edi + 1]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406f80
leave
ret
call fcn.004070dc
int3