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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f6341
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 pe_nt_image_headers32
lea ecx, [esp + 0x218]
push eax
push ecx
push edx
call fcn.005b53b0
add esp, 0x20
cmp eax, ebx
jne 0x41b665
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.00402980
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 0x41accb
lea ebp, [esp + 0x70]
mov eax, dword [0x6d1130]
cmp eax, ebx
jne 0x41acd9
mov eax, 0x6d1134
mov ecx, 0x6a4718
test ecx, ecx
je 0x41ae53
cmp eax, ebx
je 0x41ae53
mov edi, dword [esp + 0x26c]
cmp edi, ebx
je 0x41ae53
cmp ebp, ebx
je 0x41ae53
push eax
lea ecx, [esp + 0x48]
call fcn.0040d7a0
push edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x260], 2
call fcn.0040d7a0
push ebp
lea ecx, [esp + 0x64]
mov byte [esp + 0x260], 3
call fcn.0040d7a0
mov bl, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], bl
call fcn.00401070
push 0x6a4718
lea ecx, [esp + 0x30]
call fcn.00401fd0
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x60]
mov byte [esp + 0x25c], 5
call fcn.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.00402050
push eax
call fcn.005c7292
mov ebp, eax
add esp, 4
lea ecx, [esp + 0x44]
add ebp, esi
call fcn.00402050
push eax
call fcn.005c7292
add ebp, edi
lea esi, [eax + ebp + 4]
lea ebp, [esi + esi]
push ebp
call fcn.005dfcbc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x20], edi
je 0x41ae0a
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.00402050
push eax
lea ecx, [esp + 0x18]
call fcn.00402050
push eax
lea ecx, [esp + 0x4c]
call fcn.00402050
push eax
lea ecx, [esp + 0x38]
call fcn.00402050
push eax
mov eax, dword [esp + 0x30]
push esi
push eax
call fcn.005c7222
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005c7292
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 0x41ae7d
push esi
call fcn.005c7292
lea eax, [esi + eax*2]
add esp, 4
cmp esi, eax
jae 0x41ae79
cmp word [esi], 0x2f
jne 0x41ae72
mov word [esi], 0x5c
add esi, 2
cmp esi, eax
jb 0x41ae67
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 0x41ae9e
lea eax, [esp + 0x24]
mov edx, 0x6a1fe8
test edx, edx
je 0x41af7b
cmp eax, ebx
je 0x41af7b
push eax
lea ecx, [esp + 0x30]
call fcn.0040d7a0
mov bl, 7
lea ecx, [esp + 0x38]
mov byte [esp + 0x25c], bl
call fcn.00401070
push 0x6a1fe8
lea ecx, [esp + 0x48]
call fcn.00401fd0
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], 8
call fcn.00402050
push eax
call fcn.005c7292
lea esi, [eax + esi + 2]
lea ebp, [esi + esi]
push ebp
call fcn.005dfcbc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x38], edi
je 0x41af54
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.00402050
push eax
lea ecx, [esp + 0x48]
call fcn.00402050
push eax
mov eax, dword [esp + 0x40]
push esi
push eax
call fcn.005c7222
mov ecx, dword [esp + 0x48]
push ecx
call fcn.005c7292
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 0x41af85
lea eax, [esp + 0x3c]
push 0x5c
push eax
call fcn.005c71e2
add esp, 8
cmp eax, ebx
je 0x41b09d
add eax, 2
mov word [eax], bx
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x41afaa
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41b09d
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x41afc6
lea eax, [esp + 0x3c]
add eax, 6
push 0x5c
push eax
call fcn.005c76ff
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x41b09d
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x41afea
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.00402060
mov eax, dword [esp + 0x14]
mov byte [esp + 0x25c], 9
cmp eax, ebx
mov ecx, eax
jne 0x41b017
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x41b023
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 0x41b039
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.0048a8e0
add esp, 8
test eax, eax
jne 0x41b061
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x41b053
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.0048aac0
add esp, 8
test eax, eax
je 0x41b08c
add esi, 2
push 0x5c
push esi
call fcn.005c76ff
add esp, 8
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x25c], 6
call fcn.00401070
cmp esi, ebx
jne 0x41afde
jmp 0x41b09d
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 6
call fcn.00401070
push 0x2000
call fcn.005c7b5e
add esp, 4
cmp eax, ebx
mov dword [esp + 0x5c], eax
jne 0x41b0f2
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 0x41b665
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.005b5860
mov ebx, eax
add esp, 4
cmp ebx, edi
jne 0x41b602
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x41b134
lea eax, [esp + 0x24]
push 0x6a4710
push eax
call fcn.005c89f7
mov esi, eax
add esp, 8
cmp esi, edi
jne 0x41b25a
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x41b158
lea eax, [esp + 0x24]
mov ecx, 0x6a4708
test ecx, ecx
je 0x41b231
cmp eax, edi
je 0x41b231
push eax
lea ecx, [esp + 0x30]
call fcn.0040d7a0
lea ecx, [esp + 0x50]
mov byte [esp + 0x25c], 0xb
call fcn.00401070
push 0x6a4708
lea ecx, [esp + 0x48]
call fcn.00401fd0
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], 0xc
call fcn.00402050
push eax
call fcn.005c7292
lea esi, [eax + esi + 2]
lea ebp, [esi + esi]
push ebp
call fcn.005dfcbc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x50], edi
je 0x41b20d
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.00402050
push eax
lea ecx, [esp + 0x48]
call fcn.00402050
push eax
mov eax, dword [esp + 0x58]
push esi
push eax
call fcn.005c7222
mov ecx, dword [esp + 0x60]
push ecx
call fcn.005c7292
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 0x41b23d
lea eax, [esp + 0x54]
push 0x6a4710
push eax
call fcn.005c89f7
mov esi, eax
add esp, 8
cmp esi, edi
je 0x41b602
mov byte [esp + 0x13], 1
mov ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x264]
push 0x2000
push ebp
push edx
call fcn.005b5ba0
mov ebx, eax
add esp, 0xc
cmp ebx, edi
jl 0x41b2af
jle 0x41b2af
push esi
push 1
push ebx
push ebp
call fcn.005c888d
add esp, 0x10
cmp eax, 1
jne 0x41b2ac
mov eax, dword [esp + 0x264]
push 0x2000
push ebp
push eax
call fcn.005b5ba0
mov ebx, eax
add esp, 0xc
cmp ebx, edi
jge 0x41b27a
jmp 0x41b2af
or ebx, 0xffffffff
push esi
call fcn.005c8810
lea ecx, [esp + 0x108]
push str.idmcchandler2.dll
push ecx
call fcn.005c7380
add esp, 0xc
test eax, eax
jne 0x41b2eb
lea edx, [esp + 0x104]
push str.idmcchandler2_64.dll
push edx
call fcn.005c7380
add esp, 8
test eax, eax
je 0x41b556
mov al, byte [esp + 0x13]
test al, al
je 0x41b301
mov eax, dword [esp + 0x50]
cmp eax, edi
jne 0x41b30d
lea eax, [esp + 0x54]
jmp 0x41b30d
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x41b30d
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.00402060
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.005c7380
add esp, 8
mov edi, 0x6a46b8
test eax, eax
jne 0x41b35c
mov edi, 0x6a468c
mov esi, dword [0x6d1108]
test esi, esi
jne 0x41b36b
mov esi, 0x6d110c
mov ecx, 0x6a2074
test ecx, ecx
je 0x41b493
test esi, esi
je 0x41b493
test edi, edi
je 0x41b493
push ecx
lea ecx, [esp + 0x7c]
call fcn.00401fd0
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x260], 0xf
call fcn.0040d7a0
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x260], 0x10
call fcn.0040d7a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 0x11
call fcn.00401070
mov esi, dword [esp + 0x80]
lea ecx, [esp + 0x44]
call fcn.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402050
push eax
call fcn.005c7292
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dfcbc
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x41b45c
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.00402050
push eax
lea ecx, [esp + 0x30]
call fcn.00402050
push eax
lea ecx, [esp + 0x80]
call fcn.00402050
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005c7222
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005c7292
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 0x41b49f
lea eax, [esp + 0x18]
push 0
push 0
push eax
lea ecx, [esp + 0x6c]
call fcn.00402050
push eax
call fcn.0048a540
add esp, 0x10
test eax, eax
jne 0x41b534
lea ecx, [esp + 0x2c]
call fcn.0041b680
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 0x12
call fcn.00402050
push eax
push 0x6a4688
lea ecx, [esp + 0x34]
call fcn.004196d0
push 0
push 0
lea ecx, [esp + 0x34]
call fcn.00402050
push eax
lea ecx, [esp + 0x6c]
call fcn.00402050
push eax
call fcn.0048a540
add esp, 0x10
test eax, eax
je 0x41b523
lea ecx, [esp + 0x14]
call fcn.00402050
push eax
lea ecx, [esp + 0x30]
call fcn.00402050
push eax
call fcn.0041aaa0
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 0x41b606
lea edx, [esp + 0x104]
push str..dll
push edx
call fcn.005c7380
add esp, 8
test eax, eax
je 0x41b5e4
lea eax, [esp + 0xc4]
push 0x40
push eax
lea ecx, [esp + 0x28]
call fcn.00402050
push eax
call fcn.0041aac0
add esp, 0xc
test eax, eax
je 0x41b5d7
lea ecx, [esp + 0x84]
push 0x40
push ecx
lea ecx, [esp + 0x58]
call fcn.00402050
push eax
call fcn.0041aac0
add esp, 0xc
test eax, eax
je 0x41b5d7
lea edx, [esp + 0x84]
lea eax, [esp + 0xc4]
push edx
push eax
call fcn.005c8740
add esp, 8
test eax, eax
je 0x41b5e4
mov ecx, dword [esp + 0x274]
mov dword [ecx], 1
lea ecx, [esp + 0x20]
call fcn.00402050
push eax
lea ecx, [esp + 0x54]
call fcn.00402050
push eax
call fcn.0041aaa0
add esp, 8
jmp 0x41b606
mov ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x264]
push edx
call fcn.005b5d90
push ebp
call fcn.005c744f
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