Function at 0x4059bd
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov ebx, ecx
push esi
inc eax
push edi
mov edi, eax
test ebx, ebx
je 0x405ee9
cmp byte [ebx], 0
je 0x405ee9
test edi, edi
je 0x405ad5
mov al, byte [ebx]
cmp al, 0x20
je 0x405a0f
cmp al, 9
je 0x405a0f
cmp al, 0xd
je 0x405a0f
cmp al, 0xa
je 0x405a0f
cmp al, 0xb
je 0x405a0f
cmp al, 0xc
jne 0x405a1a
push ebx
call dword [sym.imp.USER32.dll_CharNextA]
mov ebx, eax
jmp 0x4059f5
cmp byte [ebx], 0
mov dword [ebp - 0x10c], ebx
je 0x405ad5
xor ecx, ecx
xor edx, edx
xor esi, esi
test edx, edx
jne 0x405a4f
mov al, byte [ebx]
cmp al, 0x20
je 0x405ab7
cmp al, 9
je 0x405ab7
cmp al, 0xd
je 0x405ab7
cmp al, 0xa
je 0x405ab7
cmp al, 0xb
je 0x405ab7
cmp al, 0xc
je 0x405ab7
jmp 0x405a53
test esi, esi
jne 0x405ab7
mov al, byte [ebx]
cmp al, 0x22
jne 0x405a93
lea eax, [ebx + 1]
cmp byte [eax], 0x22
je 0x405a77
test edx, edx
jne 0x405a68
inc edx
jmp 0x405a6d
xor ebx, ebx
lea esi, [ebx + 1]
mov ebx, eax
mov dword [ebp - 0x10c], eax
jmp 0x405aae
cmp ecx, 0x103
jae 0x405de0
push 2
mov byte [ebp + ecx - 0x108], 0x22
inc ecx
pop eax
add ebx, eax
jmp 0x405aa8
cmp ecx, 0x103
jae 0x405de0
mov byte [ebp + ecx - 0x108], al
inc ecx
inc ebx
mov dword [ebp - 0x10c], ebx
cmp byte [ebx], 0
jne 0x405a2f
cmp ecx, 0x104
jae 0x405efa
mov byte [ebp + ecx - 0x108], 0
test edx, edx
je 0x405b23
test esi, esi
jne 0x405b27
xor edi, edi
cmp dword [0x40894c], 0
je 0x405ee7
cmp byte [0x408a5e], 0
jne 0x405ee7
push 0x104
push 0x408a5e
push dword [0x409164]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x405ee5
push 0x5c
pop edx
mov ecx, 0x408a5e
call fcn.004063cc
mov byte [eax + 1], 0
jmp 0x405ee7
test esi, esi
jne 0x405ad3
mov al, byte [ebp - 0x108]
cmp al, 0x2f
je 0x405b39
cmp al, 0x2d
jne 0x405de0
movsx eax, byte [ebp - 0x107]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, al
sub eax, 0x3f
je 0x405eb7
sub eax, 4
je 0x405de7
dec eax
je 0x405d2d
sub eax, 0xa
je 0x405cb5
sub eax, 3
je 0x405c71
dec eax
je 0x405b90
dec eax
dec eax
je 0x405d2d
xor edi, edi
cmp byte [ebx], 0
jne 0x4059ed
jmp 0x405ad5
mov al, byte [ebp - 0x106]
test al, al
jne 0x405bae
xor eax, eax
mov dword [0x409a6c], 3
inc eax
mov dword [0x408948], eax
jmp 0x405b82
cmp al, 0x3a
jne 0x405c48
xor eax, eax
inc eax
cmp byte [ebp - 0x105], 0
mov dword [0x409a6c], eax
je 0x405b82
xor ebx, ebx
lea esi, [ebp - 0x105]
inc ebx
movsx eax, byte [esi]
inc esi
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, al
sub eax, 0x41
je 0x405c2f
sub eax, 3
je 0x405c26
sub eax, 5
je 0x405c1d
sub eax, 5
je 0x405c14
dec eax
dec eax
je 0x405c08
sub eax, 3
je 0x405bff
xor edi, edi
jmp 0x405c3e
or dword [0x409a6c], 4
jmp 0x405c38
or dword [0x408c68], 0x80
jmp 0x405c3e
and dword [0x409a6c], 0xfffffffe
jmp 0x405c38
and dword [0x409a6c], 0xfffffffd
jmp 0x405c38
or dword [0x408c68], 0x40
jmp 0x405c3e
push 2
pop eax
or dword [0x409a6c], eax
mov dword [0x408948], ebx
cmp byte [esi], 0
jne 0x405bd0
jmp 0x405eac
push 0xffffffffffffffff
lea eax, [ebp - 0x107]
push eax
push 0xffffffffffffffff
xor eax, eax
push 0x401318
inc eax
push eax
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringA]
dec eax
dec eax
je 0x405b82
jmp 0x405b80
mov al, byte [ebp - 0x106]
test al, al
jne 0x405c89
push 2
pop eax
mov word [0x408958], ax
jmp 0x405b82
cmp al, 0x3a
jne 0x405b80
movsx eax, byte [ebp - 0x105]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
cmp al, 0x31
je 0x405c7b
cmp al, 0x41
je 0x405cb0
cmp al, 0x55
je 0x405c7b
jmp 0x405b80
xor eax, eax
inc eax
jmp 0x405c7e
mov al, byte [ebp - 0x106]
test al, al
jne 0x405ccc
xor eax, eax
inc eax
mov dword [0x40894c], eax
jmp 0x405b82
cmp al, 0x3a
jne 0x405b80
cmp byte [ebp - 0x105], 0
je 0x405b82
xor ebx, ebx
lea esi, [ebp - 0x105]
inc ebx
movsx eax, byte [esi]
inc esi
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, al
sub eax, 0x45
je 0x405d1d
push 2
pop ecx
sub eax, ecx
je 0x405d15
sub eax, 0xf
je 0x405d0d
xor edi, edi
jmp 0x405d23
mov dword [0x408954], ebx
jmp 0x405d23
mov dword [0x408950], ebx
jmp 0x405d23
mov dword [0x40894c], ebx
cmp byte [esi], 0
jne 0x405cea
jmp 0x405eac
cmp byte [ebp - 0x106], 0x3a
jne 0x405b80
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 0x405d56
sub ecx, edx
jne 0x405d6c
mov ebx, dword [ebp - 0x10c]
jmp 0x405b80
lea edx, [ebp - 0x110]
mov dword [ebp - 0x110], ebx
mov ecx, esi
call fcn.00405933
test eax, eax
je 0x405d61
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 - 0x110]
mov edx, 0x104
jne 0x405daf
add eax, ebx
mov ebx, 0x408a5e
jmp 0x405db6
add eax, ebx
mov ebx, 0x40895a
add eax, ecx
mov ecx, ebx
push eax
call fcn.00401405
push 0x401091
mov edx, 0x104
mov ecx, ebx
call fcn.004062ff
mov ecx, ebx
call fcn.00402faa
test eax, eax
jne 0x405eac
xor eax, eax
jmp 0x405ee9
mov al, byte [ebp - 0x106]
test al, al
jne 0x405dfe
xor eax, eax
inc eax
mov dword [0x408944], eax
jmp 0x405b82
cmp al, 0x3a
jne 0x405b80
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 0x405e22
sub ecx, edx
je 0x405d61
push 0x5b
pop edx
mov ecx, esi
call fcn.004062ac
test eax, eax
je 0x405e51
push 0x5d
pop edx
mov ecx, esi
call fcn.004062ac
test eax, eax
je 0x405d61
push 0x5d
pop edx
mov ecx, esi
call fcn.004062ac
test eax, eax
je 0x405e71
push 0x5b
pop edx
mov ecx, esi
call fcn.004062ac
test eax, eax
je 0x405d61
lea edx, [ebp - 0x110]
mov dword [ebp - 0x110], ebx
mov ecx, esi
call fcn.00405933
test eax, eax
je 0x405d61
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x108]
add eax, ebx
mov edx, 0x104
add eax, ecx
mov ecx, 0x408b62
push eax
call fcn.00401405
mov ebx, dword [ebp - 0x10c]
jmp 0x405b82
xor ebx, ebx
mov edx, 0x521
push ebx
push 0x40
push ebx
push 0x401091
xor ecx, ecx
call fcn.004041b0
mov eax, dword [0x4085c8]
test eax, eax
je 0x405ede
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor edi, edi
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004069ed
mov esp, ebp
pop ebp
ret
call fcn.00406b46
int3