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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4746d9
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 [0x49ad1c], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4f4], ecx
jne 0x41bbf2
cmp dword [0x49ad2c], 3
jg 0x41bbf2
test ecx, ecx
jne 0x41bbf2
sub esp, 8
mov dword [ebp - 0xc0], 3
lea ecx, [ebp - 0xb8]
call fcn.00422bb0
mov dword [ebp - 0x1c], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetup_setup_util.cpp
mov dword [ebp - 0x18], 0x296
call edi
push 0x296
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetup_setup_util.cpp
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x14], eax
call fcn.00425610
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.00407130
mov eax, 1
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x41bc11
and eax, 0xfffffffe
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x4ec], eax
call fcn.00425110
cmp dword [0x49ad1c], 1
jne 0x41bc8a
cmp dword [0x49ad2c], 3
jg 0x41bc8a
cmp dword [ebp - 0x4f0], 0
jne 0x41bc8a
sub esp, 8
mov dword [ebp - 0xc0], 3
lea ecx, [ebp - 0xb8]
call fcn.00422bb0
mov dword [ebp - 0x1c], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetup_setup_util.cpp
mov dword [ebp - 0x18], 0x297
call edi
push 0x297
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3hummersetup_setup_util.cpp
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x14], eax
call fcn.00425610
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xb8]
or dword [ebp - 0x4ec], 2
mov edx, str.Check_failed:_is_dir.
call fcn.00407130
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4ec]
test al, 2
je 0x41bca6
lea ecx, [ebp - 0xc0]
call fcn.00425110
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41bcb0
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41c487
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.004263d0
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 0x41bd50
lea eax, [ebp - 0x438]
mov ecx, esi
push eax
call fcn.004262b0
mov byte [ebp - 4], 6
jmp 0x41be9f
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00452050
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x41bd70
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.0045987f
mov edi, dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea eax, [ebp - 0x420]
add esp, 0xc
push eax
call edi
test eax, eax
jne 0x41bdaf
lea eax, [ebp - 0x438]
mov ecx, esi
push eax
call fcn.004262b0
mov byte [ebp - 4], 7
jmp 0x41be9f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00452050
mov ecx, dword [ebp - 0x4e8]
add esp, 0xc
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x41bdd5
mov eax, dword [ecx]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0045987f
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
jne 0x41be0e
lea eax, [ebp - 0x438]
mov ecx, esi
push eax
call fcn.004262b0
mov byte [ebp - 4], 8
jmp 0x41be9f
lea ecx, [ebp - 0x218]
lea eax, [ebp - 0x420]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41be46
test dx, dx
je 0x41be42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41be46
add eax, 4
add ecx, 4
test dx, dx
jne 0x41be20
xor eax, eax
jmp 0x41be4b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41be8d
mov eax, dword [ebp - 0x4e8]
lea ecx, [ebp - 0x438]
push eax
call fcn.00401920
lea ecx, [ebp - 0x438]
call fcn.00426940
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 0x41beb7
lea eax, [ebp - 0x438]
mov ecx, esi
push eax
call fcn.004262b0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x450]
cmp ecx, eax
je 0x41bec2
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x41beb3
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 0x41bf54
push 0
push 0x484954
lea ecx, [ebp - 0x480]
call fcn.00401a50
jmp 0x41c056
lea eax, [ebp - 0x438]
mov ecx, esi
push eax
call fcn.004264b0
mov esi, eax
lea eax, [ebp - 0x480]
mov byte [ebp - 4], 0xf
cmp eax, esi
je 0x41bfa3
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 0x41bfe7
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41bfdd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c4a4
push edx
push ecx
call fcn.0044f7c7
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.00426520
lea ecx, [ebp - 0x498]
mov byte [ebp - 4], 0x14
cmp ecx, eax
je 0x41c047
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x41c032
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 0x4887ac
lea ecx, [ebp - 0x468]
call fcn.00401b90
mov eax, dword [ebp - 0x4f0]
lea ecx, [ebp - 0x468]
cmp byte [eax], 0
je 0x41c0f4
cmp dword [ebp - 0x4b4], 8
lea eax, [ebp - 0x4c8]
push dword [ebp - 0x4b8]
cmovae eax, dword [ebp - 0x4c8]
jmp 0x41c10a
push dword [ebp - 0x488]
cmp edi, 8
lea eax, [ebp - 0x498]
cmovae eax, dword [ebp - 0x498]
push eax
call fcn.00401b90
push 1
push 0x4887b4
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.0041b9e0
add esp, 8
test al, al
je 0x41c1a0
lea eax, [esi + 1]
mov dword [ebp - 0x4e8], eax
jmp 0x41c1a8
mov eax, dword [ebp - 0x4e8]
mov edi, esi
cmp eax, edi
jne 0x41c170
lea eax, [ebp - 0x4b0]
push eax
push edi
lea edx, [ebp - 0x480]
lea ecx, [ebp - 0x468]
call fcn.0041b9e0
add esp, 8
test al, al
jne 0x41c224
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 0x41c20c
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 0x41c22b
mov byte [ebp - 0x4e1], 0
mov byte [ebp - 4], 0x32
mov edx, dword [ebp - 0x49c]
cmp edx, 8
jb 0x41c26f
mov ecx, dword [ebp - 0x4b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c265
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c4a9
push edx
push ecx
call fcn.0044f7c7
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 0x41c2d0
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c2c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c4ae
push edx
push ecx
call fcn.0044f7c7
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 0x41c331
mov ecx, dword [ebp - 0x498]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c327
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c4b3
push edx
push ecx
call fcn.0044f7c7
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 0x41c392
mov ecx, dword [ebp - 0x480]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c388
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c4b8
push edx
push ecx
call fcn.0044f7c7
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 0x41c3f3
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c3e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c4bd
push edx
push ecx
call fcn.0044f7c7
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 0x41c450
mov ecx, dword [ebp - 0x4c8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c446
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c4c2
push edx
push ecx
call fcn.0044f7c7
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 0x41c489
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.0044f786
mov esp, ebp
pop ebp
ret
call fcn.00454bbf
call fcn.00454bbf
call fcn.00454bbf
call fcn.00454bbf
call fcn.00454bbf
call fcn.00454bbf
call fcn.00454bbf
int3