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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600895
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x69ee98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0
call fcn.00485933
mov edi, eax
test edi, edi
je 0x41e66b
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
xor ecx, ecx
mov eax, dword [ebx + 0x278]
mov dword [ebp - 0x14], ecx
test eax, eax
jle 0x41e550
cmp ecx, eax
jge 0x41e2ab
test ecx, ecx
js 0x41e675
cmp ecx, dword [ebx + 0x278]
jge 0x41e675
mov eax, dword [ebx + 0x274]
mov eax, dword [eax + ecx*4]
jmp 0x41e2ad
xor eax, eax
mov eax, dword [eax + 4]
sub eax, 0x10
push eax
call fcn.00403750
add esp, 4
lea ecx, [eax + 0x10]
mov dword [ebp - 0x28], ecx
lea esi, [ecx - 0x10]
mov byte [ebp - 4], 1
lea ebx, [edi - 0x10]
mov dword [ebp - 0x18], esi
cmp esi, ebx
je 0x41e32b
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x41e31c
mov eax, dword [esi]
cmp eax, dword [ebx]
jne 0x41e31c
push esi
call fcn.00403750
add esp, 4
mov dword [ebp - 0x1c], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x41e314
mov edi, dword [ebx]
push ebx
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
jmp 0x41e32b
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004038a0
mov edi, dword [ebp - 0x10]
mov byte [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41e350
mov ebx, dword [esi]
push esi
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, ebx
call esi
cmp dword [edi - 0xc], 0
jle 0x41e37c
push 0x5c
push edi
call fcn.005e0991
add esp, 8
test eax, eax
je 0x41e37c
sub eax, edi
cmp eax, 0xffffffff
je 0x41e37c
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41e593
push 0x2e
push edi
call fcn.005daaeb
add esp, 8
test eax, eax
jne 0x41e390
or eax, 0xffffffff
jmp 0x41e392
sub eax, edi
lea ecx, [eax + 1]
mov eax, dword [edi - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.004031e0
mov esi, dword [ebp - 0x20]
push str.jpeg
push esi
call fcn.005e3136
add esp, 8
test eax, eax
je 0x41e50f
push 0x674e14
push esi
call fcn.005e3136
add esp, 8
test eax, eax
je 0x41e50f
push 0x674e20
push esi
call fcn.005e3136
add esp, 8
test eax, eax
je 0x41e50f
push 0x674e24
push esi
call fcn.005e3136
add esp, 8
test eax, eax
je 0x41e50f
push 0x674e28
push esi
call fcn.005e3136
add esp, 8
test eax, eax
je 0x41e50f
push 0x674e2c
push esi
call fcn.005e3136
add esp, 8
test eax, eax
je 0x41e50f
push 0x674e30
push esi
call fcn.005e3136
add esp, 8
test eax, eax
je 0x41e50f
push 0x674e34
push esi
call fcn.005e3136
add esp, 8
test eax, eax
je 0x41e50a
push 0x674e38
push esi
call fcn.005e3136
add esp, 8
test eax, eax
je 0x41e50a
push str.midi
push esi
call fcn.005e3136
add esp, 8
test eax, eax
je 0x41e50a
push 0x674e44
push esi
call fcn.005e3136
add esp, 8
test eax, eax
je 0x41e50a
push 0x674e48
push esi
call fcn.005e3136
add esp, 8
test eax, eax
je 0x41e505
push 0x674e4c
push esi
call fcn.005e3136
add esp, 8
test eax, eax
je 0x41e505
push 0x674e50
push esi
call fcn.005e3136
add esp, 8
test eax, eax
je 0x41e505
push 0x674e54
push esi
call fcn.005e3136
add esp, 8
test eax, eax
je 0x41e505
push 0x674e58
push esi
call fcn.005e3136
add esp, 8
test eax, eax
je 0x41e505
push str.mpeg
push esi
call fcn.005e3136
add esp, 8
test eax, eax
jne 0x41e514
mov eax, dword [ebp + 0xc]
jmp 0x41e512
mov eax, dword [ebp + 0x10]
jmp 0x41e512
mov eax, dword [ebp + 8]
inc dword [eax]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41e538
mov ebx, dword [esi]
push esi
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, ebx
call esi
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebx + 0x278]
cmp ecx, eax
jl 0x41e28c
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x41e57d
mov edi, dword [ecx]
push ecx
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.00485933
mov ebx, eax
test ebx, ebx
je 0x41e67a
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x613aec]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
call fcn.00485933
mov ebx, eax
test ebx, ebx
je 0x41e684
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x613aec]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0xe72c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004030c0
push edi
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
call fcn.00407050
mov esi, dword [ebp - 0x18]
add esp, 0xc
push 0
push 0x30
push esi
call fcn.0049766b
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41e639
mov ebx, dword [esi]
push esi
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, ebx
call esi
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x41e664
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, ebx
call esi
xor bl, bl
jmp 0x41e552
push 0x80004005
call fcn.00402cb0
call fcn.00486c16
push 0x80004005
call fcn.00402cb0
push 0x80004005
call fcn.00402cb0
int3