Function at 0x40a5f5
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
push edi
push 0x8eb39475
push 2
pop eax
mov byte [esp + 0x17], 0
call fcn.00406efb
mov dword [esp + 0x24], eax
lea eax, [esp + 0x54]
pop ecx
mov dword [esp + 0x1c], eax
pushal
mov edi, dword [esp + 0x3c]
mov ecx, 0x44
mov eax, 0
rep stosb byte es:[edi], al
popal
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], eax
pushal
mov edi, dword [esp + 0x3c]
mov ecx, 0x10
mov eax, 0
rep stosb byte es:[edi], al
popal
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], eax
pushal
mov edi, dword [esp + 0x3c]
mov ecx, 0xc
mov eax, 0
rep stosb byte es:[edi], al
popal
or dword [esp + 0x14], 0xffffffff
or dword [esp + 0x18], 0xffffffff
xor eax, eax
xor ebx, ebx
inc ebx
xor esi, esi
mov word [esp + 0x80], ax
mov edi, 0x101
push 0x760dc161
mov eax, ebx
mov dword [esp + 0x2c], 0xc
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x54], 0x44
mov dword [esp + 0x80], edi
mov dword [esp + 0x10], esi
call fcn.00406efb
pop ecx
push esi
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
push ecx
call eax
test eax, eax
je 0x40a8ad
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x8c], eax
xor eax, eax
mov dword [esp + 0x50], 0x44
mov dword [esp + 0x7c], edi
mov word [esp + 0x80], ax
call fcn.00402b53
lea eax, [eax + eax + 0x104]
push eax
call fcn.00404c17
pop ecx
push dword [ebp + 8]
mov dword [esp + 0x20], eax
push str.__a__c__s
push eax
call dword [esp + 0x2c]
add esp, 0xc
add edi, 3
push edi
call fcn.00404c17
pop ecx
mov dword [esp + 0x34], eax
push 0xb9d47ba5
mov eax, ebx
call fcn.00406efb
pop ecx
push edi
push dword [esp + 0x38]
push str.ComSpec
call eax
push 0x3c7bf3ff
mov eax, ebx
call fcn.00406efb
pop ecx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x54]
push ecx
push esi
push esi
push 0x20
push ebx
lea ecx, [esp + 0x40]
push ecx
push ecx
push dword [esp + 0x3c]
push dword [esp + 0x58]
call eax
test eax, eax
je 0x40a885
cmp byte [ebp + 0xc], 0
mov byte [esp + 0x13], bl
je 0x40a885
mov edi, dword [esp + 0x38]
push 0x71948ca4
mov eax, ebx
call fcn.00406efb
mov dword [esp], 0xea60
push edi
call eax
mov edi, 0x2fa62ca8
push edi
mov eax, ebx
call fcn.00406efb
mov dword [esp], 0x7d0
call eax
push dword [esp + 0x3c]
call fcn.00401038
pop ecx
push dword [esp + 0x38]
call fcn.00401038
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, ebx
mov dword [esp], 0x313ff717
call fcn.00406efb
pop ecx
push esi
lea ecx, [esp + 0x10]
push ecx
push esi
push esi
push esi
push dword [esp + 0x34]
call eax
cmp dword [esp + 0xc], esi
jbe 0x40a885
push dword [esp + 0xc]
mov dword [esp + 0x24], esi
call fcn.00404c49
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov eax, ebx
mov dword [esp], 0x54fcc943
call fcn.00406efb
pop ecx
push esi
lea ecx, [esp + 0x24]
push ecx
push dword [esp + 0x54]
push dword [esp + 0x30]
push dword [esp + 0x58]
call eax
cmp dword [esp + 0x20], esi
jbe 0x40a86f
xor eax, eax
cmp dword [esp + 0xc], esi
jbe 0x40a85f
mov ecx, dword [esp + 0x24]
cmp byte [ecx + eax], 0x80
jb 0x40a858
mov byte [ecx + eax], 0x2a
inc eax
cmp eax, dword [esp + 0xc]
jb 0x40a84a
push dword [esp + 0x24]
push 0x40c65c
call fcn.00409ba4
pop ecx
pop ecx
push dword [esp + 0x24]
call fcn.00404c06
pop ecx
push edi
mov eax, ebx
call fcn.00406efb
pop ecx
push esi
call eax
push dword [esp + 0x1c]
call fcn.00404c06
pop ecx
push dword [esp + 0x34]
call fcn.00404c06
pop ecx
push dword [esp + 0x14]
call fcn.00401038
pop ecx
push dword [esp + 0x18]
call fcn.00401038
pop ecx
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret