Function at 0x405c38
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 0x406199
cmp byte [ecx], 0
je 0x406199
test ebx, ebx
je 0x405d74
mov al, byte [ecx]
cmp al, 0x20
je 0x405c8e
cmp al, 9
je 0x405c8e
cmp al, 0xd
je 0x405c8e
cmp al, 0xa
je 0x405c8e
cmp al, 0xb
je 0x405c8e
cmp al, 0xc
jne 0x405c99
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
jmp 0x405c74
cmp byte [ecx], 0
mov dword [ebp - 0x110], ecx
je 0x405d74
mov eax, dword [ebp - 0x110]
xor edx, edx
xor ecx, ecx
xor esi, esi
xor edi, edi
inc edx
test esi, esi
jne 0x405ce9
mov al, byte [eax]
cmp al, 0x20
je 0x405d56
cmp al, 9
je 0x405d56
cmp al, 0xd
je 0x405d56
cmp al, 0xa
je 0x405d56
cmp al, 0xb
je 0x405d56
cmp al, 0xc
je 0x405d56
mov eax, dword [ebp - 0x110]
jmp 0x405ced
test edi, edi
jne 0x405d56
mov al, byte [eax]
cmp al, 0x22
jne 0x405d29
mov eax, dword [ebp - 0x110]
cmp byte [eax + 1], 0x22
je 0x405d0e
xor eax, eax
inc eax
test esi, esi
jne 0x405d0a
mov esi, eax
jmp 0x405d41
mov edi, eax
jmp 0x405d41
cmp edx, 0x104
jae 0x40608e
mov byte [ebp + ecx - 0x108], 0x22
inc ecx
push 2
inc edx
pop eax
jmp 0x405d41
cmp edx, 0x104
jae 0x40608e
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 0x405cb7
cmp ecx, 0x104
jae 0x4061ad
mov byte [ebp + ecx - 0x108], 0
test esi, esi
je 0x405dc2
test edi, edi
jne 0x405dc6
xor ebx, ebx
cmp dword [0x408a2c], 0
je 0x406195
cmp byte [0x408b3e], 0
jne 0x406195
push 0x104
push 0x408b3e
push dword [0x409a3c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x406193
push 0x5c
pop edx
mov ecx, 0x408b3e
call fcn.00406667
mov byte [eax + 1], 0
jmp 0x406195
test edi, edi
jne 0x405d72
mov al, byte [ebp - 0x108]
cmp al, 0x2f
je 0x405dd8
cmp al, 0x2d
jne 0x40608e
movsx eax, byte [ebp - 0x107]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, al
sub eax, 0x3f
je 0x406165
sub eax, 4
je 0x406095
sub eax, 1
je 0x405fe3
sub eax, 0xa
je 0x405f68
sub eax, 3
je 0x405f24
sub eax, 1
je 0x405e41
dec eax
sub eax, 1
je 0x405fe3
xor ebx, ebx
mov dword [ebp - 0x10c], ebx
mov ecx, dword [ebp - 0x110]
cmp byte [ecx], 0
jne 0x405c6c
jmp 0x405d74
mov al, byte [ebp - 0x106]
test al, al
jne 0x405e5f
xor eax, eax
mov dword [0x409a2c], 3
inc eax
mov dword [0x408a28], eax
jmp 0x405e2d
cmp al, 0x3a
jne 0x405ef9
xor edi, edi
inc edi
cmp byte [ebp - 0x105], 0
mov dword [0x409a2c], edi
je 0x405e2d
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 0x405ee0
sub eax, 3
je 0x405ed7
sub eax, 5
je 0x405ece
sub eax, 5
je 0x405ec5
dec eax
sub eax, 1
je 0x405eb9
sub eax, 3
je 0x405eb0
xor ebx, ebx
jmp 0x405eef
or dword [0x409a2c], 4
jmp 0x405ee9
or dword [0x408d48], 0x80
jmp 0x405eef
and dword [0x409a2c], 0xfffffffe
jmp 0x405ee9
and dword [0x409a2c], 0xfffffffd
jmp 0x405ee9
or dword [0x408d48], 0x40
jmp 0x405eef
push 2
pop eax
or dword [0x409a2c], eax
mov dword [0x408a28], edi
cmp byte [esi], 0
jne 0x405e7f
jmp 0x405e27
push 0xffffffffffffffff
lea eax, [ebp - 0x107]
push eax
push 0xffffffffffffffff
xor eax, eax
push 0x4013b8
inc eax
push eax
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringA]
dec eax
sub eax, 1
je 0x405e2d
jmp 0x405e25
mov al, byte [ebp - 0x106]
test al, al
jne 0x405f3c
push 2
pop eax
mov word [0x408a38], ax
jmp 0x405e2d
cmp al, 0x3a
jne 0x405e25
movsx eax, byte [ebp - 0x105]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
cmp al, 0x31
je 0x405f2e
cmp al, 0x41
je 0x405f63
cmp al, 0x55
je 0x405f2e
jmp 0x405e25
xor eax, eax
inc eax
jmp 0x405f31
mov al, byte [ebp - 0x106]
test al, al
jne 0x405f7f
xor eax, eax
inc eax
mov dword [0x408a2c], eax
jmp 0x405e2d
cmp al, 0x3a
jne 0x405e25
cmp byte [ebp - 0x105], 0
je 0x405e2d
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 0x405fd1
push 2
pop ecx
sub eax, ecx
je 0x405fc7
sub eax, 0xf
je 0x405fbd
xor ebx, ebx
jmp 0x405fd9
xor eax, eax
inc eax
mov dword [0x408a34], eax
jmp 0x405fd9
xor eax, eax
inc eax
mov dword [0x408a30], eax
jmp 0x405fd9
xor eax, eax
inc eax
mov dword [0x408a2c], eax
cmp byte [esi], 0
jne 0x405f9a
jmp 0x405e27
xor ebx, ebx
cmp byte [ebp - 0x106], 0x3a
jne 0x405e27
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 0x40600c
sub ecx, edx
je 0x405e25
lea edx, [ebp - 0x114]
mov dword [ebp - 0x114], ebx
mov ecx, esi
call fcn.00405bb1
test eax, eax
je 0x405e25
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, 0x408b3e
je 0x40605e
mov esi, 0x408a3a
add eax, ebx
mov ebx, 0x104
add eax, ecx
mov edx, ebx
push eax
mov ecx, esi
call fcn.00401670
push 0x401130
mov edx, ebx
mov ecx, esi
call fcn.0040652a
mov ecx, esi
call fcn.004031c0
test eax, eax
jne 0x40615a
xor eax, eax
jmp 0x40619c
mov al, byte [ebp - 0x106]
test al, al
jne 0x4060ac
xor eax, eax
inc eax
mov dword [0x408a24], eax
jmp 0x405e2d
cmp al, 0x3a
jne 0x405e25
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 0x4060d0
sub ecx, edx
je 0x405e25
push 0x5b
pop edx
mov ecx, esi
call fcn.0040661e
test eax, eax
je 0x4060ff
push 0x5d
pop edx
mov ecx, esi
call fcn.0040661e
test eax, eax
je 0x405e25
push 0x5d
pop edx
mov ecx, esi
call fcn.0040661e
test eax, eax
je 0x40611f
push 0x5b
pop edx
mov ecx, esi
call fcn.0040661e
test eax, eax
je 0x405e25
lea edx, [ebp - 0x114]
mov dword [ebp - 0x114], ebx
mov ecx, esi
call fcn.00405bb1
test eax, eax
je 0x405e25
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x108]
add eax, ebx
mov edx, 0x104
add eax, ecx
mov ecx, 0x408c42
push eax
call fcn.00401670
mov ebx, dword [ebp - 0x10c]
jmp 0x405e2d
xor ebx, ebx
mov edx, 0x521
push ebx
push 0x40
push ebx
push 0x401130
xor ecx, ecx
call fcn.00404469
mov eax, dword [0x408588]
test eax, eax
je 0x40618c
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 0x40619c
lea eax, [edi + 1]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406ca0
mov esp, ebp
pop ebp
ret
call fcn.00406dea
int3