Function at 0x403740
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x42f398]
push ebx
mov ebx, edx
push esi
push edi
push dword [ebp + 8]
movzx edx, word [ebx]
mov dword [ebp - 8], ebx
call fcn.004022a0
mov edi, eax
add esp, 4
test edi, edi
je 0x4037a7
push 0x20
call fcn.0040f92d
mov ecx, dword [edi + 0xa]
mov esi, eax
add esp, 4
movups xmm0, xmmword [ecx]
movups xmmword [esi], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [esi + 0x10], xmm0
push dword [edi]
call fcn.0040f5f1
add esp, 4
push edi
call fcn.0040f5f1
add esp, 4
test byte [esi + 0xb], 0x10
push esi
jne 0x4037b0
call fcn.0040f5f1
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ax, word [esi + 0x1a]
mov word [ebx], ax
call fcn.0040f5f1
mov edx, dword [ebp + 8]
add esp, 4
mov edi, edx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4037c7
mov al, byte [edx]
sub edi, ecx
mov ecx, dword [ebx + 4]
mov byte [ebp - 1], al
cmp al, 0x5c
jne 0x4037e0
xor esi, esi
jmp 0x4037ee
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4037e5
sub esi, edx
mov edx, dword [ebx + 8]
lea eax, [esi + 2]
mov ebx, edx
add eax, edi
cmp ebx, eax
jge 0x40380c
nop dword [eax]
add ebx, ebx
cmp ebx, eax
jl 0x403800
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
cmp ebx, edx
je 0x40384f
push ebx
call fcn.0040f92d
add esp, 4
mov ecx, eax
cmp byte [ebp - 1], 0x5c
mov dword [ebp - 0xc], ecx
je 0x403834
mov eax, dword [ebp - 8]
push esi
push dword [eax + 4]
push ecx
call fcn.0040b4a0
add esp, 0xc
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov ebx, eax
push dword [ebx + 4]
call fcn.0040f5f1
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword [ebx + 4], ecx
jmp 0x403852
mov ebx, dword [ebp - 8]
cmp esi, 1
jle 0x40385c
mov byte [ecx + esi], 0x5c
inc esi
lea eax, [edi + 1]
push eax
mov eax, dword [ebx + 4]
push dword [ebp + 8]
add eax, esi
push eax
call fcn.0040b4a0
mov edi, dword [ebx + 4]
add esp, 0xc
cmp byte [edi], 0x5c
jne 0x40392b
mov ebx, edi
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x403882
mov edx, 1
sub ebx, ecx
xor esi, esi
mov dword [ebp - 8], edx
mov eax, edx
mov dword [ebp - 0xc], eax
cmp ebx, edx
jl 0x4038f1
nop
cmp byte [edi + eax], 0x5c
lea ecx, [eax + 1]
mov dword [ebp - 0x10], ecx
je 0x4038b4
cmp eax, ebx
jne 0x4038e8
cmp edx, ebx
je 0x4038e8
mov ecx, eax
lea eax, [edx + edi]
sub ecx, edx
cmp ecx, 1
jne 0x40390b
cmp byte [eax], 0x2e
je 0x4038e0
inc esi
push ecx
push eax
lea eax, [esi + edi]
push eax
call fcn.0040b4a0
mov eax, dword [ebp - 0xc]
add esp, 0xc
sub eax, dword [ebp - 8]
add esi, eax
mov byte [esi + edi], 0x5c
mov ecx, dword [ebp - 0x10]
mov edx, ecx
mov dword [ebp - 8], edx
mov eax, ecx
mov dword [ebp - 0xc], ecx
cmp eax, ebx
jle 0x4038a0
test esi, esi
mov ecx, 1
mov eax, 1
cmovne ecx, esi
mov byte [ecx + edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 2
jne 0x4038c5
cmp byte [eax], 0x2e
jne 0x4038c5
cmp byte [eax + 1], 0x2e
jne 0x4038c5
dec esi
cmp byte [esi + edi], 0x5c
je 0x4038e0
dec esi
cmp byte [esi + edi], 0x5c
jne 0x403922
jmp 0x4038e0
push str.fatal:__simplifyAbsolutePathString_Invalid_absolute_string_n
call fcn.00401010
add esp, 4
push 1
call fcn.0040c321
int3