Function at 0x405c50
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x408004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
push edi
lea edi, [ebx + 1]
test ecx, ecx
je 0x4061b6
cmp byte [ecx], bl
je 0x4061b6
test edi, edi
je 0x405d84
mov al, byte [ecx]
cmp al, 0x20
je 0x405c9f
cmp al, 9
je 0x405c9f
cmp al, 0xd
je 0x405c9f
cmp al, 0xa
je 0x405c9f
cmp al, 0xb
je 0x405c9f
cmp al, 0xc
jne 0x405caa
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
jmp 0x405c85
mov dword [ebp - 0x10c], ecx
test al, al
je 0x405d84
mov eax, dword [ebp - 0x10c]
xor edx, edx
xor ecx, ecx
xor esi, esi
xor ebx, ebx
inc edx
test esi, esi
jne 0x405cf9
mov al, byte [eax]
cmp al, 0x20
je 0x405d66
cmp al, 9
je 0x405d66
cmp al, 0xd
je 0x405d66
cmp al, 0xa
je 0x405d66
cmp al, 0xb
je 0x405d66
cmp al, 0xc
je 0x405d66
mov eax, dword [ebp - 0x10c]
jmp 0x405cfd
test ebx, ebx
jne 0x405d66
mov al, byte [eax]
cmp al, 0x22
jne 0x405d39
mov eax, dword [ebp - 0x10c]
cmp byte [eax + 1], 0x22
je 0x405d1e
xor eax, eax
inc eax
test esi, esi
jne 0x405d1a
mov esi, eax
jmp 0x405d51
mov ebx, eax
jmp 0x405d51
cmp edx, 0x104
jae 0x4060ad
mov byte [ebp + ecx - 0x108], 0x22
inc ecx
push 2
inc edx
pop eax
jmp 0x405d51
cmp edx, 0x104
jae 0x4060ad
mov byte [ebp + ecx - 0x108], al
inc ecx
xor eax, eax
inc edx
inc eax
add dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
cmp byte [eax], 0
jne 0x405cc7
cmp ecx, 0x104
jae 0x4061c8
mov byte [ebp + ecx - 0x108], 0
test esi, esi
je 0x405dd2
test ebx, ebx
jne 0x405dd6
xor edi, edi
cmp dword [0x408a2c], 0
je 0x4061b2
cmp byte [0x408b3e], 0
jne 0x4061b2
push 0x104
push 0x408b3e
push dword [0x409a3c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4061b0
push 0x5c
pop edx
mov ecx, 0x408b3e
call fcn.00406670
mov byte [eax + 1], 0
jmp 0x4061b2
test ebx, ebx
jne 0x405d82
mov al, byte [ebp - 0x108]
cmp al, 0x2f
je 0x405de8
cmp al, 0x2d
jne 0x4060ad
movsx eax, byte [ebp - 0x107]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, al
sub eax, 0x3f
je 0x406182
sub eax, 4
je 0x4060b4
sub eax, 1
je 0x406001
sub eax, 0xa
je 0x405f7e
sub eax, 3
je 0x405f36
sub eax, 1
je 0x405e4b
dec eax
sub eax, 1
je 0x406001
xor edi, edi
mov ecx, dword [ebp - 0x10c]
cmp byte [ecx], 0
jne 0x405c7d
jmp 0x405d84
cmp byte [ebp - 0x106], 0
jne 0x405e68
xor eax, eax
mov dword [0x409a2c], 3
inc eax
mov dword [0x408a28], eax
jmp 0x405e37
cmp byte [ebp - 0x106], 0x3a
jne 0x405f0b
mov ecx, dword [ebp - 0x105]
xor ebx, ebx
inc ebx
mov dword [0x409a2c], ebx
test cl, cl
je 0x405e37
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 0x405eef
sub eax, 3
je 0x405ee6
sub eax, 5
je 0x405edd
sub eax, 5
je 0x405ed4
dec eax
sub eax, 1
je 0x405ec8
sub eax, 3
je 0x405ebf
xor edi, edi
jmp 0x405efe
or dword [0x409a2c], 4
jmp 0x405ef8
or dword [0x408d48], 0x80
jmp 0x405efe
and dword [0x409a2c], 0xfffffffe
jmp 0x405ef8
and dword [0x409a2c], 0xfffffffd
jmp 0x405ef8
or dword [0x408d48], 0x40
jmp 0x405efe
push 2
pop eax
or dword [0x409a2c], eax
mov dword [0x408a28], ebx
mov al, byte [esi]
mov cl, al
test al, al
jne 0x405e8e
jmp 0x405e37
push 0xffffffffffffffff
lea eax, [ebp - 0x107]
push eax
push 0xffffffffffffffff
xor eax, eax
push 0x4013c8
inc eax
push eax
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringA]
dec eax
sub eax, 1
je 0x405e37
jmp 0x405e35
cmp byte [ebp - 0x106], 0
jne 0x405f44
push 2
pop eax
jmp 0x405f73
cmp byte [ebp - 0x106], 0x3a
jne 0x405e35
movsx eax, byte [ebp - 0x105]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
cmp al, 0x31
je 0x405f3f
cmp al, 0x41
je 0x405f70
cmp al, 0x55
je 0x405f3f
jmp 0x405e35
xor eax, eax
inc eax
mov word [0x408a38], ax
jmp 0x405e37
cmp byte [ebp - 0x106], 0
jne 0x405f94
xor eax, eax
inc eax
mov dword [0x408a2c], eax
jmp 0x405e37
cmp byte [ebp - 0x106], 0x3a
jne 0x405e35
mov ecx, dword [ebp - 0x105]
test cl, cl
je 0x405e37
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 0x405fec
push 2
pop ecx
sub eax, ecx
je 0x405fe2
sub eax, 0xf
je 0x405fd8
xor edi, edi
jmp 0x405ff4
xor eax, eax
inc eax
mov dword [0x408a34], eax
jmp 0x405ff4
xor eax, eax
inc eax
mov dword [0x408a30], eax
jmp 0x405ff4
xor eax, eax
inc eax
mov dword [0x408a2c], eax
mov al, byte [esi]
mov cl, al
test al, al
jne 0x405fb5
jmp 0x405e37
cmp byte [ebp - 0x106], 0x3a
jne 0x405e35
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 0x40602a
sub ecx, edx
je 0x405e35
lea edx, [ebp - 0x110]
mov dword [ebp - 0x110], ebx
mov ecx, esi
call fcn.00405bcb
test eax, eax
je 0x405e35
movsx eax, byte [ebp - 0x107]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
cmp al, 0x54
mov esi, 0x408b3e
mov eax, dword [ebp - 0x110]
je 0x406076
mov esi, 0x408a3a
add eax, ebx
lea ecx, [ebp - 0x108]
add eax, ecx
mov edx, 0x104
push eax
mov ecx, esi
call fcn.004016a0
push 0x401140
mov edx, 0x104
mov ecx, esi
call fcn.00406534
mov ecx, esi
call fcn.004031d0
test eax, eax
jne 0x405e37
xor eax, eax
jmp 0x4061b9
cmp byte [ebp - 0x106], 0
jne 0x4060ca
xor eax, eax
inc eax
mov dword [0x408a24], eax
jmp 0x405e37
cmp byte [ebp - 0x106], 0x3a
jne 0x405e35
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 0x4060f3
sub ecx, edx
je 0x405e35
push 0x5b
pop edx
mov ecx, esi
call fcn.00406627
test eax, eax
je 0x406122
push 0x5d
pop edx
mov ecx, esi
call fcn.00406627
test eax, eax
je 0x405e35
push 0x5d
pop edx
mov ecx, esi
call fcn.00406627
test eax, eax
je 0x406142
push 0x5b
pop edx
mov ecx, esi
call fcn.00406627
test eax, eax
je 0x405e35
lea edx, [ebp - 0x110]
mov dword [ebp - 0x110], ebx
mov ecx, esi
call fcn.00405bcb
test eax, eax
je 0x405e35
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x108]
add eax, ebx
mov edx, 0x104
add eax, ecx
mov ecx, 0x408c42
push eax
call fcn.004016a0
jmp 0x405e37
xor ebx, ebx
mov edx, 0x521
push ebx
push 0x40
push ebx
push 0x401140
xor ecx, ecx
call fcn.00404495
mov eax, dword [0x408588]
test eax, eax
je 0x4061a9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor edi, edi
mov eax, edi
jmp 0x4061b9
lea eax, [ebx + 1]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406c80
leave
ret
call fcn.00406dc8
int3