Function at 0x41da40
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x49ca2d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x4c1bd8]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x14], 0
call fcn.0041d500
push str.emalware.001
push eax
lea ecx, [esp + 0x30]
mov esi, 1
push ecx
mov dword [esp + 0x44], 0
mov dword [esp + 0x20], esi
call fcn.00416660
add esp, 0x10
mov eax, dword [eax]
mov dword [esp + 0x34], esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, 3
push eax
mov dword [esp + 0x14], ebx
call esi
test eax, eax
jne 0x41db3e
lea edx, [esp + 0x20]
push edx
call fcn.0041d500
push str.emalware.002
push eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x44], 2
mov dword [esp + 0x20], 7
call fcn.00416660
add esp, 0x10
mov eax, dword [eax]
mov dword [esp + 0x34], ebx
mov ebx, 0xf
push eax
mov dword [esp + 0x14], ebx
call esi
test eax, eax
jne 0x41db3e
lea ecx, [esp + 0x18]
push ecx
call fcn.0041d500
push 0x4a2d30
push eax
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x44], 4
mov dword [esp + 0x20], 0x1f
call fcn.00416660
mov eax, dword [eax]
add esp, 0x10
push eax
mov ebx, 0x3f
call esi
mov byte [esp + 0xf], 0
test eax, eax
je 0x41db43
mov byte [esp + 0xf], 1
test bl, 0x20
je 0x41db6f
mov eax, dword [esp + 0x14]
and ebx, 0xffffffdf
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41db6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x34], 3
test bl, 0x10
je 0x41dba3
mov eax, dword [esp + 0x18]
and ebx, 0xffffffef
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dba3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x34], 2
test bl, 8
je 0x41dbd7
mov eax, dword [esp + 0x1c]
and ebx, 0xfffffff7
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dbd7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x34], 1
test bl, 4
je 0x41dc0b
mov eax, dword [esp + 0x20]
and ebx, 0xfffffffb
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dc0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x34], 0
test bl, 2
je 0x41dc3f
mov eax, dword [esp + 0x24]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dc3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x34], 0xffffffff
test bl, 1
je 0x41dc6c
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dc6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0xf], 0
je 0x41dc8a
mov eax, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret