Function at 0x41dcd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e4360
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x677000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x1c], ebx
call fcn.0049f407
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x41dd23
push 0x80004005
call fcn.00407a60
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
push esi
push edi
lea eax, [ebp - 0x28]
push 0x624274
push eax
mov dword [ebp - 4], 0
call fcn.00407b30
mov edi, dword [ebp - 0x28]
add esp, 0x10
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or esi, 0xffffffff
test eax, eax
je 0x41df2f
push ebx
mov ecx, edi
call fcn.0041df90
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x41df2f
xor ebx, ebx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], ebx
call fcn.0049f407
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41dd19
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
mov eax, dword [eax]
add eax, ebx
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
push str._s_s.bmp
push eax
call fcn.00407b30
mov esi, dword [ebp - 0x14]
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41de16
push esi
push str.CControlView::LoadAnimationBMP_PathFileExists___Failed___file_path:_s
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41df0e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41df0e
push 0x10
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx]
mov dword [ecx + ebx + 0x414], eax
mov eax, dword [edx]
add eax, 0x20c
add eax, ebx
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00471e50
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
mov ecx, dword [eax]
add ecx, 0x418
add ebx, ecx
cmp ebx, edx
je 0x41dec9
cmp dword [ebx + 0x14], 8
jb 0x41de6f
push dword [ebx]
call fcn.0049500b
mov edx, dword [ebp - 0x14]
add esp, 4
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp dword [edx + 0x14], 8
jae 0x41dea0
mov eax, dword [edx + 0x10]
inc eax
je 0x41deaa
add eax, eax
push eax
push edx
push ebx
call fcn.005b7fa0
mov edx, dword [ebp - 0x14]
add esp, 0xc
jmp 0x41deaa
mov eax, dword [edx]
mov dword [ebx], eax
mov dword [edx], 0
mov eax, dword [edx + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
cmp dword [ebp - 0x30], 8
jb 0x41deda
push dword [ebp - 0x44]
call fcn.0049500b
add esp, 4
xor eax, eax
add esi, 0xfffffff0
mov word [ebp - 0x44], ax
mov byte [ebp - 4], al
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41df0b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
inc esi
add ebx, 0x430
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], ebx
cmp esi, dword [ebp - 0x24]
jb 0x41dd80
mov ebx, dword [ebp - 0x24]
or esi, 0xffffffff
jmp 0x41df55
push edi
push str.CControlView::LoadAnimationBMP_LoadAnimationXML___Failed___file_path:_s
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
xor ebx, ebx
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x41df73
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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