Function at 0x41c520
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475209
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x498068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4e8], edx
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x4f0], eax
xor eax, eax
mov dword [ebp - 0x4ec], eax
cmp dword [0x49ad14], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4f4], ecx
jne 0x41c5f2
cmp dword [0x49ad28], 3
jg 0x41c5f2
test ecx, ecx
jne 0x41c5f2
sub esp, 8
mov dword [ebp - 0xc0], 3
lea ecx, [ebp - 0xb8]
call fcn.004235a0
mov dword [ebp - 0x1c], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetup_setup_util.cpp
mov dword [ebp - 0x18], 0x287
call edi
push 0x287
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetup_setup_util.cpp
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x14], eax
call fcn.00426000
mov eax, 1
mov dword [ebp - 4], 0
mov edx, str.Check_failed:_des.
mov dword [ebp - 0x4ec], eax
lea ecx, [ebp - 0xb8]
call fcn.00407b40
mov eax, 1
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x41c611
and eax, 0xfffffffe
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x4ec], eax
call fcn.00425b00
cmp dword [0x49ad14], 1
jne 0x41c68a
cmp dword [0x49ad28], 3
jg 0x41c68a
cmp dword [ebp - 0x4f0], 0
jne 0x41c68a
sub esp, 8
mov dword [ebp - 0xc0], 3
lea ecx, [ebp - 0xb8]
call fcn.004235a0
mov dword [ebp - 0x1c], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetup_setup_util.cpp
mov dword [ebp - 0x18], 0x288
call edi
push 0x288
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetup_setup_util.cpp
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x14], eax
call fcn.00426000
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xb8]
or dword [ebp - 0x4ec], 2
mov edx, str.Check_failed:_is_dir.
call fcn.00407b40
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4ec]
test al, 2
je 0x41c6a6
lea ecx, [ebp - 0xc0]
call fcn.00425b00
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41c6b0
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41ce87
mov ecx, dword [ebp - 0x4f0]
shr al, 4
and al, 1
mov byte [ecx], al
lea eax, [ebp - 0x4e0]
push eax
mov ecx, esi
call fcn.00426dc0
lea eax, [ebp - 0x4e0]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x4c8]
call fcn.00401920
mov byte [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
mov eax, dword [ebp - 0x4e8]
mov byte [ebp - 4], 5
cmp dword [eax + 0x10], 0
jne 0x41c750
lea eax, [ebp - 0x438]
mov ecx, esi
push eax
call fcn.00426ca0
mov byte [ebp - 4], 6
jmp 0x41c89f
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00452a30
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x41c770
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.0045a25f
mov edi, dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea eax, [ebp - 0x420]
add esp, 0xc
push eax
call edi
test eax, eax
jne 0x41c7af
lea eax, [ebp - 0x438]
mov ecx, esi
push eax
call fcn.00426ca0
mov byte [ebp - 4], 7
jmp 0x41c89f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00452a30
mov ecx, dword [ebp - 0x4e8]
add esp, 0xc
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x41c7d5
mov eax, dword [ecx]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0045a25f
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
jne 0x41c80e
lea eax, [ebp - 0x438]
mov ecx, esi
push eax
call fcn.00426ca0
mov byte [ebp - 4], 8
jmp 0x41c89f
lea ecx, [ebp - 0x218]
lea eax, [ebp - 0x420]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41c846
test dx, dx
je 0x41c842
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41c846
add eax, 4
add ecx, 4
test dx, dx
jne 0x41c820
xor eax, eax
jmp 0x41c84b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41c88d
mov eax, dword [ebp - 0x4e8]
lea ecx, [ebp - 0x438]
push eax
call fcn.00401920
lea ecx, [ebp - 0x438]
call fcn.00427330
mov byte [ebp - 4], 9
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
push dword [ebp - 0x428]
cmovae eax, dword [ebp - 0x438]
push eax
jmp 0x41c8b7
lea eax, [ebp - 0x438]
mov ecx, esi
push eax
call fcn.00426ca0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x450]
cmp ecx, eax
je 0x41c8c2
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x41c8b3
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x450]
call fcn.00401a50
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 5
call fcn.00401850
mov byte [ebp - 4], 0xb
xor eax, eax
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 7
mov word [ebp - 0x480], ax
mov byte [ebp - 4], 0xd
mov edi, 7
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x484], eax
mov dword [ebp - 0x484], edi
mov word [ebp - 0x498], ax
mov eax, dword [ebp - 0x4f0]
mov byte [ebp - 4], 0xe
cmp byte [eax], 0
je 0x41c954
push 0
push 0x4849fc
lea ecx, [ebp - 0x480]
call fcn.00401a50
jmp 0x41ca56
lea eax, [ebp - 0x438]
mov ecx, esi
push eax
call fcn.00426ea0
mov esi, eax
lea eax, [ebp - 0x480]
mov byte [ebp - 4], 0xf
cmp eax, esi
je 0x41c9a3
mov ecx, eax
call fcn.00401850
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x480], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x470], xmm0
mov word [esi], ax
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x41c9e7
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c9dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cea4
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x4e0]
call fcn.00426f10
lea ecx, [ebp - 0x498]
mov byte [ebp - 4], 0x14
cmp ecx, eax
je 0x41ca47
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x41ca32
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x498]
call fcn.00401a50
mov edi, dword [ebp - 0x484]
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0xe
call fcn.00401850
mov byte [ebp - 4], 0x15
xor eax, eax
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x450]
cmp dword [ebp - 0x43c], 8
lea ecx, [ebp - 0x468]
push dword [ebp - 0x440]
cmovae eax, dword [ebp - 0x450]
push eax
call fcn.00401b90
push 2
push 0x4887b4
lea ecx, [ebp - 0x468]
call fcn.00401b90
mov eax, dword [ebp - 0x4f0]
lea ecx, [ebp - 0x468]
cmp byte [eax], 0
je 0x41caf4
cmp dword [ebp - 0x4b4], 8
lea eax, [ebp - 0x4c8]
push dword [ebp - 0x4b8]
cmovae eax, dword [ebp - 0x4c8]
jmp 0x41cb0a
push dword [ebp - 0x488]
cmp edi, 8
lea eax, [ebp - 0x498]
cmovae eax, dword [ebp - 0x498]
push eax
call fcn.00401b90
push 1
push 0x4887bc
lea ecx, [ebp - 0x468]
call fcn.00401b90
mov byte [ebp - 4], 0x17
xor eax, eax
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 0
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 7
mov word [ebp - 0x4b0], ax
mov eax, 1
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x4e8], eax
mov edi, 0x40000000
nop dword [eax + eax]
lea esi, [edi + eax]
lea eax, [ebp - 0x4b0]
shr esi, 1
push eax
push esi
lea edx, [ebp - 0x480]
lea ecx, [ebp - 0x468]
call fcn.0041c3e0
add esp, 8
test al, al
je 0x41cba0
lea eax, [esi + 1]
mov dword [ebp - 0x4e8], eax
jmp 0x41cba8
mov eax, dword [ebp - 0x4e8]
mov edi, esi
cmp eax, edi
jne 0x41cb70
lea eax, [ebp - 0x4b0]
push eax
push edi
lea edx, [ebp - 0x480]
lea ecx, [ebp - 0x468]
call fcn.0041c3e0
add esp, 8
test al, al
jne 0x41cc24
lea eax, [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x438]
call fcn.00401920
mov ecx, dword [ebp - 0x4f4]
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0x19
cmp ecx, eax
je 0x41cc0c
cmp dword [ebp - 0x424], 8
push dword [ebp - 0x428]
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.00401a50
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0x18
call fcn.00401850
mov byte [ebp - 0x4e1], 1
jmp 0x41cc2b
mov byte [ebp - 0x4e1], 0
mov byte [ebp - 4], 0x32
mov edx, dword [ebp - 0x49c]
cmp edx, 8
jb 0x41cc6f
mov ecx, dword [ebp - 0x4b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41cc65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cea9
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 7
mov word [ebp - 0x4b0], ax
mov byte [ebp - 4], 0x36
mov edx, dword [ebp - 0x454]
cmp edx, 8
jb 0x41ccd0
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ccc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ceae
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
mov byte [ebp - 4], 0x3a
mov edx, dword [ebp - 0x484]
cmp edx, 8
jb 0x41cd31
mov ecx, dword [ebp - 0x498]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41cd27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ceb3
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 7
mov word [ebp - 0x498], ax
mov byte [ebp - 4], 0x3e
mov edx, dword [ebp - 0x46c]
cmp edx, 8
jb 0x41cd92
mov ecx, dword [ebp - 0x480]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41cd88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ceb8
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 7
mov word [ebp - 0x480], ax
mov byte [ebp - 4], 0x42
mov edx, dword [ebp - 0x43c]
cmp edx, 8
jb 0x41cdf3
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41cde9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cebd
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
mov byte [ebp - 4], 0x46
mov edx, dword [ebp - 0x4b4]
cmp edx, 8
jb 0x41ce50
mov ecx, dword [ebp - 0x4c8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ce46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cec2
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4b4], 7
mov word [ebp - 0x4c8], ax
lea ecx, [ebp - 0x4e0]
mov dword [ebp - 4], 0xffffffff
call fcn.00401850
mov al, byte [ebp - 0x4e1]
jmp 0x41ce89
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450164
mov esp, ebp
pop ebp
ret
call fcn.0045559f
call fcn.0045559f
call fcn.0045559f
call fcn.0045559f
call fcn.0045559f
call fcn.0045559f
call fcn.0045559f
int3