Function at 0x4107b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x45a58d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x49c23c]
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.004103d0
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.0040f5f0
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 0x4108ae
lea edx, [esp + 0x20]
push edx
call fcn.004103d0
push str.emalware.002
push eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x44], 2
mov dword [esp + 0x20], 7
call fcn.0040f5f0
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 0x4108ae
lea ecx, [esp + 0x18]
push ecx
call fcn.004103d0
push str.emalware.003
push eax
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x44], 4
mov dword [esp + 0x20], 0x1f
call fcn.0040f5f0
mov eax, dword [eax]
add esp, 0x10
push eax
mov ebx, 0x3f
call esi
mov byte [esp + 0xf], 0
test eax, eax
je 0x4108b3
mov byte [esp + 0xf], 1
test bl, 0x20
je 0x4108df
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 0x4108df
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 0x410913
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 0x410913
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 0x410947
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 0x410947
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 0x41097b
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 0x41097b
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 0x4109af
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 0x4109af
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 0x4109dc
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 0x4109dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0xf], 0
je 0x4109fa
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