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

Disassembly:
push 0xffffffffffffffff
push 0x63bcb2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x74f8a0]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov esi, dword [esp + 0x244]
cmp esi, 1
mov edi, dword [esp + 0x240]
mov dword [esp + 0x1c], ecx
jle 0x41aff8
xor ebx, ebx
mov dword [esp + 0x20], ebx
cmp esi, 2
je 0x41afff
cmp esi, 0xf
jne 0x41b00a
push ebx
push ebx
call fcn.00414c30
test eax, eax
jne 0x41b00a
mov eax, dword [0x754c5c]
cmp eax, ebx
jne 0x41af7b
mov eax, 0x754c60
push str.idmmzcc.xpi
push eax
lea eax, [esp + 0x2c]
push 0x673030
push eax
call fcn.0040fc00
add esp, 0x10
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41b00a
cmp dword [esp + 0x248], ebx
je 0x41aff8
lea ecx, [esp + 0x14]
call fcn.00402500
mov dword [esp + 0x238], ebx
mov edx, dword [0x756588]
push 1
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00402f70
mov ecx, dword [esp + 0x20]
push 0x30
push 0x66fd88
push ecx
push ebx
call fcn.0046f4c0
add esp, 0x1c
mov dword [esp + 0x238], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
xor eax, eax
jmp 0x41b22f
mov eax, dword [edi + 4]
push eax
push 9
call fcn.00417a30
mov ebp, dword [esp + 0x248]
mov bl, 1
test ebp, ebp
je 0x41b0d5
cmp dword [esp + 0x24c], 0
je 0x41b0d5
lea ecx, [esp + 0x14]
call fcn.00402500
mov dword [esp + 0x238], 1
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
push esi
call fcn.004179d0
test eax, eax
jne 0x41b05e
push 0x6740c8
lea ecx, [esp + 0x18]
call fcn.005494d0
lea ecx, [esp + 0x18]
call fcn.00402500
mov byte [esp + 0x238], 2
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [0x756308]
push eax
push ecx
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00402f70
mov ecx, dword [0x7562d0]
mov edx, dword [esp + 0x28]
push 0x24
push ecx
push edx
push 0
call fcn.0046f4c0
add esp, 0x20
cmp eax, 6
je 0x41b0a8
xor bl, bl
mov byte [esp + 0x238], 1
lea ecx, [esp + 0x18]
call fcn.00402570
mov dword [esp + 0x238], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
test bl, bl
je 0x41b22b
lea ecx, [esp + 0x14]
call fcn.00402500
mov ebx, 3
mov dword [esp + 0x238], ebx
lea eax, [esp + 0x14]
push eax
push esi
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.004179d0
test eax, eax
jne 0x41b10d
push str.this
lea ecx, [esp + 0x18]
call fcn.005494d0
cmp dword [edi + 8], 0
mov eax, 1
mov dword [esp + 0x20], eax
mov dword [edi + 0xc], eax
je 0x41b217
mov eax, dword [0x754c5c]
test eax, eax
jne 0x41b131
mov eax, 0x754c60
push str.idmmzcc.xpi
push eax
lea ecx, [esp + 0x2c]
push 0x673030
push ecx
call fcn.0040fc00
add esp, 0x10
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41b1af
test ebp, ebp
je 0x41afe4
lea ecx, [esp + 0x18]
call fcn.00402500
mov byte [esp + 0x238], 4
mov eax, dword [0x756588]
push 1
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00402f70
mov edx, dword [esp + 0x24]
push 0x30
push 0x66fd88
push edx
push 0
call fcn.0046f4c0
add esp, 0x1c
mov byte [esp + 0x238], bl
lea ecx, [esp + 0x18]
call fcn.00402570
jmp 0x41afe4
test ebp, ebp
je 0x41b206
lea ecx, [esp + 0x18]
call fcn.00402500
mov byte [esp + 0x238], 5
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [0x756310]
push eax
push ecx
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00402f70
mov ecx, dword [0x7562d0]
mov edx, dword [esp + 0x28]
push 0x40
push ecx
push edx
push 0
call fcn.0046f4c0
add esp, 0x20
mov byte [esp + 0x238], bl
lea ecx, [esp + 0x18]
call fcn.00402570
mov eax, dword [edi]
push eax
mov ecx, esi
call fcn.00412960
mov dword [edi + 0x10], 1
mov dword [esp + 0x238], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0061807e
add esp, 0x228
ret 0x10