Function at 0x41c060
Capabilities:
Check if file exists
Get file attributes
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6169f1
push eax
mov dword fs:[0], esp
sub esp, 0x244
mov edx, dword [esp + 0x254]
lea eax, [esp + 0xf4]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
push ebx
push ebx
push ebx
push 0x100
lea ecx, [esp + 0x218]
push eax
push ecx
push edx
call fcn.005d5220
add esp, 0x20
cmp eax, ebx
jne 0x41ca95
lea eax, [esp + 0x104]
push ebx
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], ebx
mov word [esp + 0x78], bx
call fcn.00402e00
xor esi, esi
mov dword [esp + 0x25c], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], ebx
mov word [esp + 0x24], bx
mov ebp, dword [esp + 0x6c]
mov byte [esp + 0x25c], 1
cmp ebp, ebx
jne 0x41c0fb
lea ebp, [esp + 0x70]
mov eax, dword [0x6d2310]
cmp eax, ebx
jne 0x41c109
mov eax, 0x6d2314
mov ecx, 0x6a39fc
test ecx, ecx
je 0x41c283
cmp eax, ebx
je 0x41c283
mov edi, dword [esp + 0x26c]
cmp edi, ebx
je 0x41c283
cmp ebp, ebx
je 0x41c283
push eax
lea ecx, [esp + 0x48]
call fcn.0040e580
push edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x260], 2
call fcn.0040e580
push ebp
lea ecx, [esp + 0x64]
mov byte [esp + 0x260], 3
call fcn.0040e580
mov bl, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], bl
call fcn.00401070
push 0x6a39fc
lea ecx, [esp + 0x30]
call fcn.00402380
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x60]
mov byte [esp + 0x25c], 5
call fcn.00402400
push eax
call fcn.005e71bf
add esp, 4
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e71bf
mov ebp, eax
add esp, 4
lea ecx, [esp + 0x44]
add ebp, esi
call fcn.00402400
push eax
call fcn.005e71bf
add ebp, edi
lea esi, [eax + ebp + 4]
lea ebp, [esi + esi]
push ebp
call fcn.005ffe3f
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x20], edi
je 0x41c23a
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x60]
call fcn.00402400
push eax
lea ecx, [esp + 0x18]
call fcn.00402400
push eax
lea ecx, [esp + 0x4c]
call fcn.00402400
push eax
lea ecx, [esp + 0x38]
call fcn.00402400
push eax
mov eax, dword [esp + 0x30]
push esi
push eax
call fcn.005e714f
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005e71bf
add esp, 0x1c
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], bl
call fcn.00401070
lea ecx, [esp + 0x60]
mov byte [esp + 0x25c], 3
call fcn.00401070
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 2
call fcn.00401070
lea ecx, [esp + 0x44]
mov byte [esp + 0x25c], 1
call fcn.00401070
mov esi, dword [esp + 0x20]
xor ebx, ebx
cmp esi, ebx
je 0x41c2ad
push esi
call fcn.005e71bf
lea eax, [esi + eax*2]
add esp, 4
cmp esi, eax
jae 0x41c2a9
cmp word [esi], 0x2f
jne 0x41c2a2
mov word [esi], 0x5c
add esi, 2
cmp esi, eax
jb 0x41c297
mov esi, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ecx
mov word [esp + 0x3c], bx
cmp esi, ebx
mov byte [esp + 0x25c], 6
mov eax, esi
jne 0x41c2ce
lea eax, [esp + 0x24]
mov edx, 0x6a10a0
test edx, edx
je 0x41c3ab
cmp eax, ebx
je 0x41c3ab
push eax
lea ecx, [esp + 0x30]
call fcn.0040e580
mov bl, 7
lea ecx, [esp + 0x38]
mov byte [esp + 0x25c], bl
call fcn.00401070
push 0x6a10a0
lea ecx, [esp + 0x48]
call fcn.00402380
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], 8
call fcn.00402400
push eax
call fcn.005e71bf
lea esi, [eax + esi + 2]
lea ebp, [esi + esi]
push ebp
call fcn.005ffe3f
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x38], edi
je 0x41c384
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x2c]
call fcn.00402400
push eax
lea ecx, [esp + 0x48]
call fcn.00402400
push eax
mov eax, dword [esp + 0x40]
push esi
push eax
call fcn.005e714f
mov ecx, dword [esp + 0x48]
push ecx
call fcn.005e71bf
add esp, 0x14
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x25c], bl
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], 6
call fcn.00401070
mov ecx, dword [esp + 0x38]
xor ebx, ebx
cmp ecx, ebx
mov eax, ecx
jne 0x41c3b5
lea eax, [esp + 0x3c]
push 0x5c
push eax
call fcn.005e710f
add esp, 8
cmp eax, ebx
je 0x41c4cd
add eax, 2
mov word [eax], bx
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x41c3da
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41c4cd
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x41c3f6
lea eax, [esp + 0x3c]
add eax, 6
push 0x5c
push eax
call fcn.005e77bb
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x41c4cd
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x41c41a
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov word [esp + 0x1c], bx
call fcn.00402410
mov eax, dword [esp + 0x14]
mov byte [esp + 0x25c], 9
cmp eax, ebx
mov ecx, eax
jne 0x41c447
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x41c453
lea eax, [esp + 0x3c]
mov edx, esi
sub edx, eax
sar edx, 1
mov word [ecx + edx*2], bx
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x41c469
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00496570
add esp, 8
test eax, eax
jne 0x41c491
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x41c483
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00496750
add esp, 8
test eax, eax
je 0x41c4bc
add esi, 2
push 0x5c
push esi
call fcn.005e77bb
add esp, 8
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x25c], 6
call fcn.00401070
cmp esi, ebx
jne 0x41c40e
jmp 0x41c4cd
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 6
call fcn.00401070
push 0x2000
call fcn.005e7a99
add esp, 4
cmp eax, ebx
mov dword [esp + 0x5c], eax
jne 0x41c522
lea ecx, [esp + 0x38]
mov byte [esp + 0x25c], 1
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], 0
call fcn.00401070
lea ecx, [esp + 0x6c]
mov dword [esp + 0x25c], 0xffffffff
call fcn.00401070
mov eax, 0xffffff98
jmp 0x41ca95
xor edi, edi
mov byte [esp + 0x13], 0
mov dword [esp + 0x50], edi
mov dword [esp + 0x58], edi
mov word [esp + 0x54], di
mov eax, dword [esp + 0x264]
mov byte [esp + 0x25c], 0xa
push eax
call fcn.005d56d0
mov ebx, eax
add esp, 4
cmp ebx, edi
jne 0x41ca32
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x41c564
lea eax, [esp + 0x24]
push 0x6a39f4
push eax
call fcn.005e885f
mov esi, eax
add esp, 8
cmp esi, edi
jne 0x41c68a
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x41c588
lea eax, [esp + 0x24]
mov ecx, 0x6a3a8c
test ecx, ecx
je 0x41c661
cmp eax, edi
je 0x41c661
push eax
lea ecx, [esp + 0x30]
call fcn.0040e580
lea ecx, [esp + 0x50]
mov byte [esp + 0x25c], 0xb
call fcn.00401070
push 0x6a3a8c
lea ecx, [esp + 0x48]
call fcn.00402380
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], 0xc
call fcn.00402400
push eax
call fcn.005e71bf
lea esi, [eax + esi + 2]
lea ebp, [esi + esi]
push ebp
call fcn.005ffe3f
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x50], edi
je 0x41c63d
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x2c]
call fcn.00402400
push eax
lea ecx, [esp + 0x48]
call fcn.00402400
push eax
mov eax, dword [esp + 0x58]
push esi
push eax
call fcn.005e714f
mov ecx, dword [esp + 0x60]
push ecx
call fcn.005e71bf
add esp, 0x14
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x25c], 0xb
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], 0xa
call fcn.00401070
xor edi, edi
mov eax, dword [esp + 0x50]
cmp eax, edi
jne 0x41c66d
lea eax, [esp + 0x54]
push 0x6a39f4
push eax
call fcn.005e885f
mov esi, eax
add esp, 8
cmp esi, edi
je 0x41ca32
mov byte [esp + 0x13], 1
mov ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x264]
push 0x2000
push ebp
push edx
call fcn.005d5a10
mov ebx, eax
add esp, 0xc
cmp ebx, edi
jl 0x41c6df
jle 0x41c6df
push esi
push 1
push ebx
push ebp
call fcn.005e86f5
add esp, 0x10
cmp eax, 1
jne 0x41c6dc
mov eax, dword [esp + 0x264]
push 0x2000
push ebp
push eax
call fcn.005d5a10
mov ebx, eax
add esp, 0xc
cmp ebx, edi
jge 0x41c6aa
jmp 0x41c6df
or ebx, 0xffffffff
push esi
call fcn.005e8678
lea ecx, [esp + 0x108]
push str.idmcchandler2.dll
push ecx
call fcn.005e72b0
add esp, 0xc
test eax, eax
jne 0x41c71b
lea edx, [esp + 0x104]
push str.idmcchandler2_64.dll
push edx
call fcn.005e72b0
add esp, 8
test eax, eax
je 0x41c986
mov al, byte [esp + 0x13]
test al, al
je 0x41c731
mov eax, dword [esp + 0x50]
cmp eax, edi
jne 0x41c73d
lea eax, [esp + 0x54]
jmp 0x41c73d
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x41c73d
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], edi
mov word [esp + 0x68], di
call fcn.00402410
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
mov word [esp + 0x18], di
lea eax, [esp + 0x104]
push str.idmcchandler2.dll
push eax
mov byte [esp + 0x264], 0xe
call fcn.005e72b0
add esp, 8
mov edi, 0x6a3a3c
test eax, eax
jne 0x41c78c
mov edi, 0x6a3a10
mov esi, dword [0x6d22e8]
test esi, esi
jne 0x41c79b
mov esi, 0x6d22ec
mov ecx, 0x6a112c
test ecx, ecx
je 0x41c8c3
test esi, esi
je 0x41c8c3
test edi, edi
je 0x41c8c3
push ecx
lea ecx, [esp + 0x7c]
call fcn.00402380
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x260], 0xf
call fcn.0040e580
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x260], 0x10
call fcn.0040e580
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 0x11
call fcn.00401070
mov esi, dword [esp + 0x80]
lea ecx, [esp + 0x44]
call fcn.00402400
push eax
call fcn.005e71bf
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e71bf
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005ffe3f
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x41c88c
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x44]
call fcn.00402400
push eax
lea ecx, [esp + 0x30]
call fcn.00402400
push eax
lea ecx, [esp + 0x80]
call fcn.00402400
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005e714f
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e71bf
add esp, 0x18
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x25c], 0x10
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], 0xf
call fcn.00401070
lea ecx, [esp + 0x78]
mov byte [esp + 0x25c], 0xe
call fcn.00401070
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x41c8cf
lea eax, [esp + 0x18]
push 0
push 0
push eax
lea ecx, [esp + 0x6c]
call fcn.00402400
push eax
call fcn.004961d0
add esp, 0x10
test eax, eax
jne 0x41c964
lea ecx, [esp + 0x2c]
call fcn.0041cab0
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 0x12
call fcn.00402400
push eax
push 0x6a3a0c
lea ecx, [esp + 0x34]
call fcn.0041aed0
push 0
push 0
lea ecx, [esp + 0x34]
call fcn.00402400
push eax
lea ecx, [esp + 0x6c]
call fcn.00402400
push eax
call fcn.004961d0
add esp, 0x10
test eax, eax
je 0x41c953
lea ecx, [esp + 0x14]
call fcn.00402400
push eax
lea ecx, [esp + 0x30]
call fcn.00402400
push eax
call fcn.0041bed0
add esp, 8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], 0xe
call fcn.00401070
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 0xd
call fcn.00401070
lea ecx, [esp + 0x60]
mov byte [esp + 0x25c], 0xa
call fcn.00401070
mov al, byte [esp + 0x13]
test al, al
je 0x41ca36
lea edx, [esp + 0x104]
push str..dll
push edx
call fcn.005e72b0
add esp, 8
test eax, eax
je 0x41ca14
lea eax, [esp + 0xc4]
push 0x40
push eax
lea ecx, [esp + 0x28]
call fcn.00402400
push eax
call fcn.0041bef0
add esp, 0xc
test eax, eax
je 0x41ca07
lea ecx, [esp + 0x84]
push 0x40
push ecx
lea ecx, [esp + 0x58]
call fcn.00402400
push eax
call fcn.0041bef0
add esp, 0xc
test eax, eax
je 0x41ca07
lea edx, [esp + 0x84]
lea eax, [esp + 0xc4]
push edx
push eax
call fcn.005e7640
add esp, 8
test eax, eax
je 0x41ca14
mov ecx, dword [esp + 0x274]
mov dword [ecx], 1
lea ecx, [esp + 0x20]
call fcn.00402400
push eax
lea ecx, [esp + 0x54]
call fcn.00402400
push eax
call fcn.0041bed0
add esp, 8
jmp 0x41ca36
mov ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x264]
push edx
call fcn.005d5c00
push ebp
call fcn.005e7026
add esp, 8
lea ecx, [esp + 0x50]
mov byte [esp + 0x25c], 6
call fcn.00401070
lea ecx, [esp + 0x38]
mov byte [esp + 0x25c], 1
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], 0
call fcn.00401070
lea ecx, [esp + 0x6c]
mov dword [esp + 0x25c], 0xffffffff
call fcn.00401070
mov eax, ebx
mov ecx, dword [esp + 0x254]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x250
ret