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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x615a91
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.005d4400
add esp, 0x20
cmp eax, ebx
jne 0x41cab5
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 0x41c11b
lea ebp, [esp + 0x70]
mov eax, dword [0x6d12b0]
cmp eax, ebx
jne 0x41c129
mov eax, 0x6d12b4
mov ecx, 0x6a29fc
test ecx, ecx
je 0x41c2a3
cmp eax, ebx
je 0x41c2a3
mov edi, dword [esp + 0x26c]
cmp edi, ebx
je 0x41c2a3
cmp ebp, ebx
je 0x41c2a3
push eax
lea ecx, [esp + 0x48]
call fcn.0040e5a0
push edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x260], 2
call fcn.0040e5a0
push ebp
lea ecx, [esp + 0x64]
mov byte [esp + 0x260], 3
call fcn.0040e5a0
mov bl, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], bl
call fcn.00401070
push 0x6a29fc
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.005e639f
add esp, 4
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e639f
mov ebp, eax
add esp, 4
lea ecx, [esp + 0x44]
add ebp, esi
call fcn.00402400
push eax
call fcn.005e639f
add ebp, edi
lea esi, [eax + ebp + 4]
lea ebp, [esi + esi]
push ebp
call fcn.005feedc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x20], edi
je 0x41c25a
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.005e632f
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005e639f
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 0x41c2cd
push esi
call fcn.005e639f
lea eax, [esi + eax*2]
add esp, 4
cmp esi, eax
jae 0x41c2c9
cmp word [esi], 0x2f
jne 0x41c2c2
mov word [esi], 0x5c
add esi, 2
cmp esi, eax
jb 0x41c2b7
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 0x41c2ee
lea eax, [esp + 0x24]
mov edx, 0x6a00a0
test edx, edx
je 0x41c3cb
cmp eax, ebx
je 0x41c3cb
push eax
lea ecx, [esp + 0x30]
call fcn.0040e5a0
mov bl, 7
lea ecx, [esp + 0x38]
mov byte [esp + 0x25c], bl
call fcn.00401070
push 0x6a00a0
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.005e639f
lea esi, [eax + esi + 2]
lea ebp, [esi + esi]
push ebp
call fcn.005feedc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x38], edi
je 0x41c3a4
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.005e632f
mov ecx, dword [esp + 0x48]
push ecx
call fcn.005e639f
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 0x41c3d5
lea eax, [esp + 0x3c]
push 0x5c
push eax
call fcn.005e62ef
add esp, 8
cmp eax, ebx
je 0x41c4ed
add eax, 2
mov word [eax], bx
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x41c3fa
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41c4ed
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x41c416
lea eax, [esp + 0x3c]
add eax, 6
push 0x5c
push eax
call fcn.005e699b
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x41c4ed
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x41c43a
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 0x41c467
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x41c473
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 0x41c489
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00495c30
add esp, 8
test eax, eax
jne 0x41c4b1
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x41c4a3
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00495e10
add esp, 8
test eax, eax
je 0x41c4dc
add esi, 2
push 0x5c
push esi
call fcn.005e699b
add esp, 8
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x25c], 6
call fcn.00401070
cmp esi, ebx
jne 0x41c42e
jmp 0x41c4ed
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 6
call fcn.00401070
push 0x2000
call fcn.005e6c79
add esp, 4
cmp eax, ebx
mov dword [esp + 0x5c], eax
jne 0x41c542
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 0x41cab5
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.005d48b0
mov ebx, eax
add esp, 4
cmp ebx, edi
jne 0x41ca52
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x41c584
lea eax, [esp + 0x24]
push 0x6a29f4
push eax
call fcn.005e7a3f
mov esi, eax
add esp, 8
cmp esi, edi
jne 0x41c6aa
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x41c5a8
lea eax, [esp + 0x24]
mov ecx, 0x6a2a8c
test ecx, ecx
je 0x41c681
cmp eax, edi
je 0x41c681
push eax
lea ecx, [esp + 0x30]
call fcn.0040e5a0
lea ecx, [esp + 0x50]
mov byte [esp + 0x25c], 0xb
call fcn.00401070
push 0x6a2a8c
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.005e639f
lea esi, [eax + esi + 2]
lea ebp, [esi + esi]
push ebp
call fcn.005feedc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x50], edi
je 0x41c65d
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.005e632f
mov ecx, dword [esp + 0x60]
push ecx
call fcn.005e639f
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 0x41c68d
lea eax, [esp + 0x54]
push 0x6a29f4
push eax
call fcn.005e7a3f
mov esi, eax
add esp, 8
cmp esi, edi
je 0x41ca52
mov byte [esp + 0x13], 1
mov ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x264]
push 0x2000
push ebp
push edx
call fcn.005d4bf0
mov ebx, eax
add esp, 0xc
cmp ebx, edi
jl 0x41c6ff
jle 0x41c6ff
push esi
push 1
push ebx
push ebp
call fcn.005e78d5
add esp, 0x10
cmp eax, 1
jne 0x41c6fc
mov eax, dword [esp + 0x264]
push 0x2000
push ebp
push eax
call fcn.005d4bf0
mov ebx, eax
add esp, 0xc
cmp ebx, edi
jge 0x41c6ca
jmp 0x41c6ff
or ebx, 0xffffffff
push esi
call fcn.005e7858
lea ecx, [esp + 0x108]
push str.idmcchandler2.dll
push ecx
call fcn.005e6490
add esp, 0xc
test eax, eax
jne 0x41c73b
lea edx, [esp + 0x104]
push str.idmcchandler2_64.dll
push edx
call fcn.005e6490
add esp, 8
test eax, eax
je 0x41c9a6
mov al, byte [esp + 0x13]
test al, al
je 0x41c751
mov eax, dword [esp + 0x50]
cmp eax, edi
jne 0x41c75d
lea eax, [esp + 0x54]
jmp 0x41c75d
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x41c75d
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.005e6490
add esp, 8
mov edi, 0x6a2a3c
test eax, eax
jne 0x41c7ac
mov edi, 0x6a2a10
mov esi, dword [0x6d1288]
test esi, esi
jne 0x41c7bb
mov esi, 0x6d128c
mov ecx, 0x6a012c
test ecx, ecx
je 0x41c8e3
test esi, esi
je 0x41c8e3
test edi, edi
je 0x41c8e3
push ecx
lea ecx, [esp + 0x7c]
call fcn.00402380
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x260], 0xf
call fcn.0040e5a0
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x260], 0x10
call fcn.0040e5a0
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.005e639f
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e639f
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005feedc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x41c8ac
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.005e632f
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005e639f
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 0x41c8ef
lea eax, [esp + 0x18]
push 0
push 0
push eax
lea ecx, [esp + 0x6c]
call fcn.00402400
push eax
call fcn.00495890
add esp, 0x10
test eax, eax
jne 0x41c984
lea ecx, [esp + 0x2c]
call fcn.0041cad0
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 0x12
call fcn.00402400
push eax
push 0x6a2a0c
lea ecx, [esp + 0x34]
call fcn.0041aef0
push 0
push 0
lea ecx, [esp + 0x34]
call fcn.00402400
push eax
lea ecx, [esp + 0x6c]
call fcn.00402400
push eax
call fcn.00495890
add esp, 0x10
test eax, eax
je 0x41c973
lea ecx, [esp + 0x14]
call fcn.00402400
push eax
lea ecx, [esp + 0x30]
call fcn.00402400
push eax
call fcn.0041bef0
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 0x41ca56
lea edx, [esp + 0x104]
push str..dll
push edx
call fcn.005e6490
add esp, 8
test eax, eax
je 0x41ca34
lea eax, [esp + 0xc4]
push 0x40
push eax
lea ecx, [esp + 0x28]
call fcn.00402400
push eax
call fcn.0041bf10
add esp, 0xc
test eax, eax
je 0x41ca27
lea ecx, [esp + 0x84]
push 0x40
push ecx
lea ecx, [esp + 0x58]
call fcn.00402400
push eax
call fcn.0041bf10
add esp, 0xc
test eax, eax
je 0x41ca27
lea edx, [esp + 0x84]
lea eax, [esp + 0xc4]
push edx
push eax
call fcn.005e6820
add esp, 8
test eax, eax
je 0x41ca34
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.0041bef0
add esp, 8
jmp 0x41ca56
mov ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x264]
push edx
call fcn.005d4de0
push ebp
call fcn.005e6206
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